Project

General

Profile

Actions

Emulator Issues #1148

closed

Memory Leaks Loading or Saving states

Added by darkvalen21 almost 15 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

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.

  1. 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).

Actions #1

Updated by Migs351 almost 15 years ago

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?

Actions #2

Updated by Craggles17 almost 15 years ago

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.

Actions #3

Updated by darkvalen21 almost 15 years ago

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? :)

Actions #4

Updated by GCNWIIUploader almost 15 years ago

@Craggles17 I only have 384 mb of memory and it runs fine so don't say it needs a gig
because thats a lie

Actions #5

Updated by federelli almost 15 years ago

Yep, every load-save you do, you'll see memory consumption going up by around 60MB.

Actions #6

Updated by kevinx0404 almost 15 years ago

this makes tas really hard to do.

Actions #7

Updated by XTra.KrazzY almost 15 years ago

  • Status changed from New to Work started

I know, I know...

Actions #8

Updated by darkvalen21 over 14 years ago

It seems Fixed, good Work, XK

Actions #9

Updated by XTra.KrazzY over 14 years ago

  • Status changed from Work started to Fixed
Actions

Also available in: Atom PDF