Emulator Issues #1148
closed
Memory Leaks Loading or Saving states
Added by darkvalen21 almost 16 years ago.
Relates to performance:
No
Relates to maintainability:
No
Description
What steps will reproduce the problem?
1.Open emulator in a Window with Task Manager
2.Play any game (I´ve been playing Z:WW)
3.Save a state and you will see around 5MB of increase in memory consumption.
4. Load the same state and the memory goes up around 50MB
What is the expected output? What do you see instead?
State saving and loading should not increase memory use. This leads to a
crash after enough save states are loaded (2GB of mem. in 32bits and your
max. memory if you are on 64 bit.) (See Attach)
What version of the product are you using? On what operating system?
Any version, Win32 or X64, rev 3800 or later.
Please provide any additional information below.
Tested in Vista 64, with ATI Catalyst 9.6 (i know about issue with ATI 9.4
or later, and it´s not the same problem) and 185.20 Geforce (happens in
Nvidia too).
I would just be happy that the save states work at all... They have come a long way,
it wasn't long ago that they didn't work at all, or it was like playing the lotto,
you'd be lucky to get one that would work. Just use them sparingly and restart the
emulator after every 5-10 loads/saves.
Besides, if it only goes up 50MB, it would take around 120 load states to reach the
6GB such as you have pictured. Do you really need to use them that much?
Considering dolphin needs a gig anyway any memory leaks can cause serious issues. Z WW
has crashed a few times through memory states for me - for the most part I didn't even
use them because I didn't feel comfortable with them.
Don´t misunderstand me, this emulator is becoming one of the best there is. But the
issue remains (BTW, i don´t use save states a lot, the picture was indeed after more
that 100 loads, just to demonstrate that the leak is serious)
But I have a 64bit system and 8GB of RAM, for people with 2GB it would crash after 20
loads or so.
And why would you use an emulator if not for the savestates and better resolution? :)
@Craggles17 I only have 384 mb of memory and it runs fine so don't say it needs a gig
because thats a lie
Yep, every load-save you do, you'll see memory consumption going up by around 60MB.
this makes tas really hard to do.
- Status changed from New to Work started
It seems Fixed, good Work, XK
- Status changed from Work started to Fixed
Also available in: Atom
PDF