Page 1 of 1
Possible Memory Leak in FAH client
Posted: Thu Aug 07, 2025 1:40 am
by semicolonTransistor
The FAHClient.exe process alone is taking nearly 10GB of memory.
Restarting FAH did not resolve the issue; the FAH process allocated nearly 10GB of memory immediately after startup.
OS: Windows 11 Pro 24H2
FAH: Version 8.4.9
Re: Possible Memory Leak in FAH client
Posted: Thu Aug 07, 2025 6:52 am
by calxalot
What you are describing is not a memory leak. It is excessive memory usage.
Possibly related:
https://github.com/FoldingAtHome/fah-cl ... issues/291
Re: Possible Memory Leak in FAH client
Posted: Thu Aug 07, 2025 10:01 am
by muziqaz
We can reproduce this all the time after we restart the pc with paused WU. FAHclient does something at that point to take all this memory. Dev is aware of it, not sure when the fix will be implemented.
Memory usage usually normalises after a while, or after you finish the WUs
Re: Possible Memory Leak in FAH client
Posted: Fri Aug 08, 2025 11:18 pm
by semicolonTransistor
I see. Just out of curiosity, what would be a reasonable, stable memory usage amount for the FAHClient? It appears that it still consumes 1-3GB of memory even after running for a while.
Re: Possible Memory Leak in FAH client
Posted: Sat Aug 09, 2025 2:52 am
by calxalot
Recently restarted client on macOS 15.6 intel
According to Activity Monitor
real mem 36 MB
private mem 14 MB
virtual mem 34 GB
Re: Possible Memory Leak in FAH client
Posted: Sat Aug 09, 2025 8:55 am
by muziqaz
In windows it is 10s of MBs
Re: Possible Memory Leak in FAH client
Posted: Mon Aug 11, 2025 9:25 pm
by arisu
I notice that it consumes 1-3 GB after a while as well on Linux. This is resident memory, not virtual memory which is expected to be large. It might be doing something weird like not removing downloaded or uploaded wudata/wuresults files from memory after downloading/uploading them. I've been planning to look into this.
Re: Possible Memory Leak in FAH client
Posted: Sat Aug 23, 2025 2:05 pm
by dplinker
I am also having issues on Kubuntu 24.04. FAH client will grow constantly.
will set it back to a reasonable size, but if I don't do that regularly it will eventually cause my system to seize.
Re: Possible Memory Leak in FAH client
Posted: Tue Oct 07, 2025 12:36 pm
by EdgeArcher
Same issue on Windows 11 23H2
Re: Possible Memory Leak in FAH client
Posted: Tue Oct 07, 2025 7:10 pm
by muziqaz
Fix is in the works