Closed mguinhos closed 6 months ago
Try to set LLVM threads to 8 on Emulator tab and compile again with Firmware cache removed.
Try to set LLVM threads to 8 on Emulator tab and compile again with Firmware cache removed.
Thanks, i guess i solved. My swap was too small. Increased to 4GB, and it was sufficient.
Reducing to 8 threads only also worked.
It used 2.8GB of swap at some point.
But with 8 threads, the leak itself is not resolved, just lowered the memory usage, correct?
Not a memory leak, just a misconfiguration on my operating system.
Sorry for opening an issue about that.
And thanks for the help.
Nah, its a bug of RPCS3, we do compile concurrently up to the amount of CPU threads you have without considering real world memory restrictions.
Actually it was not the thread count after all, but I'll provide a tentative fix for that too.
Compiling with 16 llvm threads eats the whole RAM and Swap. Even when the game is closed, the memory isnt freed.
Tested on i5-13450HX (PS3UPDATE.PUP)
Its only when we exit RPCS3 that the memory is freed.