![]() |
|
Huge memory leak in the UI (Title List) - Printable Version +- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org) +-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support) +--- Forum: Development Discussion (https://forums.dolphin-emu.org/Forum-development-discussion) +--- Thread: Huge memory leak in the UI (Title List) (/Thread-huge-memory-leak-in-the-ui-title-list) |
Huge memory leak in the UI (Title List) - kirbypuff - 11-09-2014 When Dolphin is started, it reads from/generates the cache and loads the list of available titles in the UI window. When doing this, if you open the Windows Task Manager you'll see that the Paged Kernel Memory and System RAM usage have increased by a large amount. Memory that the OS will NOT release even after Dolphin is closed (!). Even worse, each time you use the "Purge Cache" option to rebuild the cache, it amplifies the Paged Kernel Memory leak (almost doubles the amount of RAM lost). Now this gets really bad when testing multiple buids of Dolphin for regressions or benchmarking. Each build started adds even more memory to the Paged Kernel pool. With multiple versions and cache purging, the total amount of memory lost due to this leak can reach up to 1 GiB or more. Memory that won't be released unless you REBOOT the OS. Is this issue ever going to be fixed for the current Wx UI? What abut the Qt UI rewrite? Is the next-gen Qt List finally going to put an end to this long-standing issue? RE: Huge memory leak in the UI (Title List) - tueidj - 11-09-2014 Smells like plain old disk caching. RE: Huge memory leak in the UI (Title List) - kirbypuff - 11-09-2014 EDIT: Fixed a crapload of typos. |