-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RPCS3 leaks memory on PPU compilation #15376
Comments
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.
The text was updated successfully, but these errors were encountered: