Memory leak
#1
Using the most recent build, I noticed that memory will eventually escalate to several GB. I have been able to confirm, after loading a state, some old memory is not freed. Specifically, I can't help any more. If it matters, I was playing RE4. After loading about 20 times, it went up 1GB.

Attachments don't seem to work.

ini's: pcsx2, SPU-2, GSdx

MainGuiPosition=15,66
SysSettingsTabName=GS
McdSettingsTabName=Standard
AppSettingsTabName=Plugins
LanguageId=0
RecentIsoCount=12
DeskTheme=default
Listbook_ImageSize=32
Toolbar_ImageSize=24
Toolbar_ShowLabels=enabled
CurrentIso=
CurrentELF=
EnableSpeedHacks=enabled
EnableGameFixes=disabled
McdCompressNTFS=enabled
CdvdSource=Plugin
[MemoryCards]
Slot1_Enable=enabled
Slot1_Filename=Mcd001.ps2
Slot2_Enable=enabled
Slot2_Filename=Mcd002.ps2
Multitap1_Slot2_Enable=disabled
Multitap1_Slot2_Filename=Mcd-Multitap1-Slot02.ps2
Multitap1_Slot3_Enable=disabled
Multitap1_Slot3_Filename=Mcd-Multitap1-Slot03.ps2
Multitap1_Slot4_Enable=disabled
Multitap1_Slot4_Filename=Mcd-Multitap1-Slot04.ps2
Multitap2_Slot2_Enable=disabled
Multitap2_Slot2_Filename=Mcd-Multitap2-Slot02.ps2
Multitap2_Slot3_Enable=disabled
Multitap2_Slot3_Filename=Mcd-Multitap2-Slot03.ps2
Multitap2_Slot4_Enable=disabled
Multitap2_Slot4_Filename=Mcd-Multitap2-Slot04.ps2
[ProgramLog]
Visible=enabled
AutoDock=disabled
DisplayPosition=1,565
DisplaySize=680,175
FontSize=8
[Folders]
UseDefaultPlugins=enabled
UseDefaultSettings=enabled
UseDefaultBios=disabled
UseDefaultSnapshots=enabled
UseDefaultSavestates=enabled
UseDefaultMemoryCards=enabled
UseDefaultLogs=enabled
Plugins=plugins
Bios=F:\\PCSX2_0.9.7_(r3119)_Binaries\\bios
Snapshots=F:\\Documents and Settings\\Administrator\\My Documents\\pcsx2\\snaps
Savestates=F:\\Documents and Settings\\Administrator\\My Documents\\pcsx2\\sstates
MemoryCards=F:\\Documents and Settings\\Administrator\\My Documents\\pcsx2\\memcards
Logs=F:\\Documents and Settings\\Administrator\\My Documents\\pcsx2\\logs
RunIso=F:\\Documents and Settings\\Administrator\\My Documents\\pcsx2
RunELF=F:\\Documents and Settings\\Administrator\\My Documents\\pcsx2
[Filenames]
GS=F:\\Program Files\\PCSX2 0.9.7\\Plugins\\gsdx-ssse3-r3068.dll
PAD=F:\\Program Files\\PCSX2 0.9.7\\Plugins\\lilypad-r2930.dll
SPU2=F:\\Program Files\\PCSX2 0.9.7\\Plugins\\spu2-x-r3117.dll
CDVD=F:\\Program Files\\PCSX2 0.9.7\\Plugins\\cdvdiso-r3065.dll
USB=F:\\Program Files\\PCSX2 0.9.7\\Plugins\\USBnull.dll
FW=F:\\Program Files\\PCSX2 0.9.7\\Plugins\\FWnull.dll
DEV9=F:\\Program Files\\PCSX2 0.9.7\\Plugins\\DEV9null.dll
BIOS=F:\\PCSX2_0.9.7_(r3119)_Binaries\\bios\\SCPH-75008_RUS_Con_0220_20050620_v14_[3177E892].rom0
[GSWindow]
CloseOnEsc=enabled
DefaultToFullscreen=enabled
AlwaysHideMouse=disabled
DisableResizeBorders=disabled
DisableScreenSaver=enabled
WindowSize=787,545
WindowPos=451,5
AspectRatio=Stretch
[Framerate]
NominalScalar=1.0
TurboScalar=2.0
SlomoScalar=0.50
SkipOnLimit=enabled
SkipOnTurbo=enabled
[EmuCore]
CdvdVerboseReads=disabled
CdvdDumpBlocks=disabled
EnablePatches=disabled
EnableCheats=disabled
ConsoleToStdio=disabled
HostFs=disabled
McdEnableEjection=enabled
MultitapPort0_Enabled=disabled
MultitapPort1_Enabled=disabled
[EmuCore/Speedhacks]
EECycleRate=2
VUCycleSteal=3
IopCycleRate_X2=enabled
IntcStat=enabled
WaitLoop=enabled
vuFlagHack=enabled
vuMinMax=disabled
[EmuCore/CPU]
FPU.DenormalsAreZero=enabled
FPU.FlushToZero=enabled
FPU.Roundmode=3
VU.DenormalsAreZero=enabled
VU.FlushToZero=enabled
VU.Roundmode=3
[EmuCore/CPU/Recompiler]
EnableEE=enabled
EnableIOP=enabled
EnableVU0=enabled
EnableVU1=enabled
UseMicroVU0=enabled
UseMicroVU1=enabled
vuOverflow=enabled
vuExtraOverflow=disabled
vuSignOverflow=disabled
vuUnderflow=disabled
fpuOverflow=enabled
fpuExtraOverflow=disabled
fpuFullMode=disabled
StackFrameChecks=disabled
[EmuCore/GS]
SynchronousMTGS=disabled
DisableOutput=disabled
FrameLimitEnable=disabled
FrameSkipEnable=disabled
VsyncEnable=disabled
LimitScalar=1.0
FramerateNTSC=59.94
FrameratePAL=50.0
DefaultRegionMode=ntsc
FramesToDraw=2
FramesToSkip=8
[EmuCore/Gamefixes]
VuAddSubHack=disabled
VuClipFlagHack=disabled
FpuCompareHack=disabled
FpuMulHack=disabled
FpuNegDivHack=disabled
XgKickHack=disabled
IPUWaitHack=disabled
EETimingHack=disabled
[EmuCore/Profiler]
Enabled=disabled
RecBlocks_EE=enabled
RecBlocks_IOP=enabled
RecBlocks_VU0=enabled
RecBlocks_VU1=enabled
[EmuCore/TraceLog]
Enabled=disabled
SIF=disabled
EE.bitset=0
IOP.bitset=0
[EmuCore/ConsoleLog]
ELF=disabled
StdoutEE=enabled
StdoutIOP=enabled
Deci2=enabled




[MIXING]
Interpolation=0
Reverb_Boost=0
Disable_Effects=FALSE
[OUTPUT]
Synch_Mode=0
XAudio2_SpeakerConfiguration=2
Latency=150
Output_Module=dsound
[DSP PLUGIN]
Filename=
ModuleNum=0
Enabled=FALSE
[WAVEOUT]
Device=default
Buffer_Count=4
[DSOUNDOUT]
Device=default
Buffer_Count=5
Disable_Global_Focus=FALSE
Use_Hardware=FALSE
[SOUNDTOUCH]
SequenceLengthMS=50
SeekWindowMS=15
OverlapMS=25
[DEBUG]
Global_Enable=FALSE
Show_Messages=FALSE
Show_Messages_Key_On_Off=FALSE
Show_Messages_Voice_Off=FALSE
Show_Messages_DMA_Transfer=FALSE
Show_Messages_AutoDMA=FALSE
Show_Messages_Overruns=FALSE
Show_Messages_CacheStats=FALSE
Log_Register_Access=FALSE
Log_DMA_Transfers=FALSE
Log_WAVE_Output=FALSE
Dump_Info=FALSE
Dump_Memory=FALSE
Dump_Regs=FALSE
Logs_Folder=logs
Dumps_Folder=logs
Access_Log_Filename=SPU2Log.txt
DMA4Log_Filename=SPU2dma4.dat
DMA7Log_Filename=SPU2dma7.dat
Info_Dump_Filename=SPU2Cores.txt
Mem_Dump_Filename=SPU2mem.dat
Reg_Dump_Filename=SPU2regs.dat



[Settings]
Renderer=0
Interlace=0
AspectRatio=0
upscale_multiplier=1
windowed=0
filter=0
paltex=0
vsync=0
logz=0
fba=0
aa1=0
nativeres=0
resx=800
resy=600
swthreads=1
msaa=0
UserHacks_AlphaHack=0
UserHacks_HalfPixelOffset=0
UserHacks_SkipDraw=0

Sponsored links

#2
If you mean PCSX2 0.9.7 (r3119) then we know about the memory leak with savestates.
It has already been fixed in SVN builds. Some other not yet finished changes prevent us
from releasing an update yet though.
Just try to use savestates less often for now Wink
#3
(08-16-2010, 02:58 AM)rama Wrote: If you mean PCSX2 0.9.7 (r3119) then we know about the memory leak with savestates.
It has already been fixed in SVN builds. Some other not yet finished changes prevent us
from releasing an update yet though.
Just try to use savestates less often for now Wink

Cool. Thanks and good job.




Users browsing this thread: 1 Guest(s)