vKolerts / sidenoder

Cross platform Sideloader for Quest standalone headset and other android devices
MIT License
71 stars 7 forks source link

issue: /tmp/mnt is a size limited ram mounted partition on linux with the AppImage #39

Open P1R opened 6 months ago

P1R commented 6 months ago

Issue

when trying to side-load some big files, I got a message which said No space left on the device:

Error: ENOSPC: no space left on device, copy file ....

BUT, I did had space in both the device and the PC file system. Looking further I found it was mounting the remote source at /tmp/mnt.

The problem is that /tmp in most linux systems is mounted in the ram memory and the size is limited.

Temporal solution

By monitoring the mounted partition /tmp while sideloading I handle to side 2 OBBs files like 4 GB each. by increasing the ram memory filesystem size of /tmp

Note: this is limited to the users ram and in my case probably because I was running many programs.

sudo mount -o remount,size=10G /tmp/ 

Possible Solutions.

  1. Change the mounting point to a non-ram based directory or a .tmp hidden directory where the AppImage has control.
  2. Cleanup the directory after the procedure is finished.
VladKolerts commented 6 months ago

image You can change "temp" folder at app settings