• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 39 40 41 42 43 ... 117 Next »

Huge memory leak in the UI (Title List)
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Huge memory leak in the UI (Title List)
11-09-2014, 11:22 AM (This post was last modified: 11-09-2014, 09:21 PM by kirbypuff.)
#1
kirbypuff Offline
The Original White Marshmallow
*****
Posts: 825
Threads: 37
Joined: Aug 2010
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?
Find
Reply
11-09-2014, 07:37 PM
#2
tueidj Offline
Senior Member
****
Posts: 552
Threads: 0
Joined: Apr 2013
Smells like plain old disk caching.
Find
Reply
11-09-2014, 09:07 PM
#3
kirbypuff Offline
The Original White Marshmallow
*****
Posts: 825
Threads: 37
Joined: Aug 2010
EDIT: Fixed a crapload of typos.
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode