sshfs-win icon indicating copy to clipboard operation
sshfs-win copied to clipboard

Memory leak

Open DeveloperOl opened this issue 3 years ago • 2 comments

I am using sshfs 3.5.2 to mount a share in my local network. I have realized, that the memory used by sshfs.exe constantly grows, until the app crashes when trying to use more than 1024Mb. It seems like some memory is not freed correctly, which leads to disconnects after some hours. I tried reinstalling different versions which does not resolve the issue.

To reproduce (maybe): mount a network share. Do a read extensive task on multiple files.

May be related to #214

If I can provide more information I'd be happy to.

DeveloperOl avatar Jan 24 '22 18:01 DeveloperOl

Thank you for the report.

I am not aware of any memory leaks in core WinFsp (but of course there might still be some). For this reason, this likely is a problem with upstream SSHFS or with its interaction with Cygwin.

billziss-gh avatar Jan 25 '22 14:01 billziss-gh

Probably related to https://github.com/winfsp/sshfs-win/issues/59#issuecomment-950024206, which describes the exact same symptoms (to the point where I'd call this issue a dupe of that one).

I am not aware of any memory leaks in core WinFsp (but of course there might still be some). For this reason, this likely is a problem with upstream SSHFS or with its interaction with Cygwin.

There is definitely something going on. I've been hit by the same problem here.

darkuranium avatar Apr 17 '22 08:04 darkuranium