[Maxwell]: Fix shaders compilation memory leak #2606

Merged
Shinmegumi merged 1 commit from maxwell-leak-fix into master 2025-10-01 01:21:13 +02:00
Member

Co-authored-by: collecting collecting@citron-emu.org

"The ObjectPool was never being cleared after use. When compiling complex shaders, this would allocate gigabytes of memory, causing the emulator to run out of RAM and be killed by the operating system. This is a critical fix that prevents out-of-memory crashes on all operating systems when playing games with complex shaders."

Co-authored-by: collecting <collecting@citron-emu.org> "The ObjectPool<Statement> was never being cleared after use. When compiling complex shaders, this would allocate gigabytes of memory, causing the emulator to run out of RAM and be killed by the operating system. This is a critical fix that prevents out-of-memory crashes on all operating systems when playing games with complex shaders."
Gamer64 added 1 commit 2025-09-28 17:19:25 +02:00
[Maxwell]: Memory Leak Fix
All checks were successful
eden-license / license-header (pull_request) Successful in 22s
6267097a52
Co-authored-by: collecting <collecting@citron-emu.org>

"The ObjectPool<Statement> was never being cleared after use. When compiling complex shaders, this would allocate gigabytes of memory, causing the emulator to run out of RAM and be killed by the operating system. This is a critical fix that prevents out-of-memory crashes on all operating systems when playing games with complex shaders."
requested reviews from CamilleLaVey, Maufeat, crueter, MrPurple666, MaranBr, Lizzie 2025-09-28 17:19:26 +02:00
MaranBr approved these changes 2025-09-29 21:46:47 +02:00
MaranBr force-pushed maxwell-leak-fix from 6267097a52 to d0890c3426 2025-09-30 00:58:18 +02:00 Compare
MaranBr force-pushed maxwell-leak-fix from d0890c3426 to 401da9367a 2025-09-30 02:44:05 +02:00 Compare
Shinmegumi approved these changes 2025-10-01 01:20:56 +02:00
Shinmegumi merged commit 43a7470a7d into master 2025-10-01 01:21:13 +02:00
Shinmegumi deleted branch maxwell-leak-fix 2025-10-01 01:21:13 +02:00
Sign in to join this conversation.
No description provided.