- changed status to duplicate
fuse-zip uses too much memory, proportional to the accessed file size
Issue #53
duplicate
I tried mounting a 600MB zip file:
cd /tmp
dd if=/dev/urandom of=file bs=600M count=1
zip -Z store file.zip file
mount file.zip /mnt
then running:
cat /mnt/file > /dev/null
will consume ALL the available memory (tested on a Beaglebone Black with 512MB RAM) and finally will fail with the following message:
cat: /mnt/file: Software caused connection abort
dmesg
output:
[ 4993.163143] Out of memory: Kill process 3945 (fuse-zip) score 879 or sacrifice child
[ 4993.170976] Killed process 3945 (fuse-zip) total-vm:455092kB, anon-rss:451736kB, file-rss:76kB
```
Comments (2)
-
repo owner -
repo owner Yes, this is a design limitation: all data are stored in memory until file system is unmounted.
- Log in to comment
Duplicate of #32.