[Bug Report] Page file memory leak in "Load state"
#1
# PCSX2 version: Official Beta 0.9.7 r3113
# CPU options: All default for EE and VUs
# Plugins used: Doesn't seem to matter...
# Description: After every 'Load State', the page file increases by about 35MB, and after many consecutive loads, the page file eventually runs out of memory and the following allocation error occurs (see screenshot). The problem doesn't appear to be plugin or game specific. This problem isn't present in v0.9.6. I'm running Windows XP Pro SP3.


Attached Files Thumbnail(s)
   

Sponsored links

#2
Wow...how many times did you load state? Tongue OK try replicating this using GSdx DX9 software renderer
[Image: newsig.jpg]
#3
Ok, this is most likely a bug on one of the plugins.
Could you post your complete configuration please?
#4
Probably got the same problem. After n-time load the emu freezes. Heres my log (the file is kinda big I took the whole emulog after the crash, probably the last lines are only important and the specs at the beginning) Hope I helped.


Attached Files
.rar   emuLog.rar (Size: 49,21 KB / Downloads: 515)
#5
Yes looks like the same bug, but we really can't accept this data while you're using modified / hacked plugins like this:
Quote:PCSX2 0.9.7\Plugins\GSdx-sse4 Nocturne Version.dll
[Image: newsig.jpg]
#6
Umm its the normal rev I think 1406 - the last one to not have the problem with seeing throught walls in that particular game - SMT "Nocturne" ( I just renamed it in case i wanted to play something else on the normal official revision Smile ) Ill try to get You a crash log on the normal plugin Smile
#7
Log using GSdx 3068 0.1.16 with Direct3D9 (Software) renderer.

Created by starting a game, State Save once, then State Loading about 54 times...

Excerpt of plugins from log:

Loading plugins...
Binding GS : C:\Program Files\PCSX2 0.9.7\Plugins\gsdx-ssse3-r3068.dll
Windows 5.1.2600 (Service Pack 3 3.0)
NVIDIA GeForce 9800 GT (6.14.11.8585)
Binding PAD : C:\Program Files\PCSX2 0.9.7\Plugins\lilypad-r2930.dll
Binding SPU2 : C:\Program Files\PCSX2 0.9.7\Plugins\spu2-x-r3117.dll
Binding CDVD : C:\Program Files\PCSX2 0.9.7\Plugins\cdvdiso-r3065.dll
Binding USB : C:\Program Files\PCSX2 0.9.7\Plugins\USBnull.dll
Binding FW : C:\Program Files\PCSX2 0.9.7\Plugins\FWnull.dll
Binding DEV9 : C:\Program Files\PCSX2 0.9.7\Plugins\DEV9null.dll
Plugins loaded successfully.


Attached Files
.txt   mem_leak_log.txt (Size: 19,72 KB / Downloads: 635)
#8
I see a Folder-Structure from a pirated copy.
mkaap-dgr .... looks not valid for an own copy.

Rule #1
CPU: Intel Core2Duo E6600 @2.7Ghz (OC'ed)
Mainboard: ABIT Fatal1ty FP-IN9 SLI
GPU: XFX Geforce 8800 GTS 320MB
RAM: 3GB DDR2-800
OS: Windows XP SP3 (Home Edition)
#9
Star 
Edit With Additional Info:
---------------
I am currently using the 0.9.7.3113 (svn) version of PCSX2.
Operating System: Windows 7 Professional
Program is being run as administrator

GS Settings
Plugin: GSdx 3068 (MSVC 15.00, SSE2) 0.1.16 [gsdx-sse2-r0368]
Direct3D10/11 (Hardware)
Blend Tff
Scaling 2x
Experimental HW Anti Aliasing 0
Texture filtering fully on
Allow 8-bit textures fully off

SPU2 Settings
Plugin: SPU2-X r3117 1.4.0 [spu2-x-r3117]
Interpolation Linear
Reverb Boost Factor 1X
Module XAudio 2
Latency 150ms
Sync TimeStretch (default config)
Audio Expansion Stereo

EE/IOP
Both: Recompiler
Round: Chop/Zero
Clamp: None
Flush to Zero On
Denormals are Zero On

VUs
Both: Recomplier
Round: Chop/Zero
Clamp: None
Flush to Zero On
Denormals are Zero On

GS
All default. Framelimiting switch between normal and disabled frequently via F4 in-game

Window
All default

Speedhacks
Error happens with all disabled.
Attached log with following:
EE Cyclerate 2
VU Cycle Stealing 0

Enable INTC Spin Detection
Enable Wait Loop Detection

mVU Flag Hack

PCSX2 Gamefixes
None. Not using SuperVU recompiler so VU Clip Flag Hack isn't needed.

---------------

While playing Persona 3 FES (NTSC) I make extensive use of save states and removal of frame limiting as a fast forward measure.

An annoying problem often occurs though. After extensive numbers of save state loadings, eventually I come across an error that prevents me loading and saving any more states until PCSX2 is restarted.

The error given off is the following

Code:
(pxInvokeActionEvent) Out-of-memory on SafeArray block re-allocation.
Old size: 11534336 bytes, New size: 12582912 bytes.(VM_UnzipFromDisk)

Attempting to create new save states after this error results in the console saying save state creation was successful, then throwing out an error. The save state creation actually failed as they can not be loaded on subsequent restarts of PCSX2.

Attempting to load save states results in gameplay "stalling" - The System > Suspend and System > Resume commands can be used to continue gameplay from the point of error with no obvious side effects.

That is until Suspend > Resume is repeated numerous times after multiple attempts to load save states. A different error is generated upon doing this which leads to a hard program crash accompanied by Windows stating the program is non-responsive on the next Suspend > Resume attempt.

That error is as follows.

Code:
(pxInvokeActionEvent) Out of Memory(VM_UnzipFromDisk)

The complete log of PCSX2 program operation from start to error is also attached compressed with the "RAR" format. The uncompressed text file (log.txt) is over 200kb big and cannot be attached.

All errors begin with "(pxInvokeActionEvent)". The error log is a complete log of the entire duration of a single instance of PCSX2 playing only Persona 3 FES.

The first 230kb of the log probably aren't much use other than counting how many times I saved and loaded states. The last 20kb are where the errors start popping up.


Attached Files
.rar   log.rar (Size: 10,6 KB / Downloads: 283)
#10
Additional:
This appears to be a similar (if not identical) issue to
http://forums.pcsx2.net/Thread-Bug-Repor...Load-state




Users browsing this thread: 1 Guest(s)