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.

Image

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