osxfuse / sshfs

File system based on the SSH File Transfer Protocol
http://fuse.sourceforge.net
GNU General Public License v2.0
1.16k stars 131 forks source link

Memory Leak? #43

Closed diktomat closed 5 years ago

diktomat commented 6 years ago
# sshfs --version
2017
SSHFS version 2.10
OSXFUSE 3.7.1
FUSE library version: 2.9.7

I use sshfs to mount my media drive (~1.2TB used of 2TB, ext4) to my Macbook, from a Raspberry Pi used as NAS. When freshly mounted, sshfs uses less than a MB of RAM, but with time, the usage grows. Yesterday, after wondering why my hard drive was full, I detected that /var/vm was 38GB big, Activity Monitor showed a swap usage of these 38GB, and memory use of sshfs was shown as 36GB. I unmounted, mounted again, and after playing a bit of music and a short video off the mounted drive, usage was nearly a GB again, growing ever since.

UmutAlihan commented 5 years ago

same issue here

bfleischer commented 5 years ago

Please raise the issue in the https://github.com/libfuse/sshfs issue tracker. I don't think FUSE for macOS is to blame for this.