12-02-2011, 04:15 AM
Okay so I'm using these setting
- use vertex cache
- enable saving GE screen to Texture instead of memory
- use media engine
- use complier
And everything is going just fine until the first Tartarus trek where the game crash and give me this error message
Running Jpcsp 32bit...
java.lang.OutOfMemoryError
Exception in thread "GUI" java.lang.OutOfMemoryError
at sun.misc.Unsafe.allocateMemory(Native Method)
at java.nio.DirectByteBuffer.<init>(Unknown Source)
at java.nio.ByteBuffer.allocateDirect(Unknown Source)
at jpcsp.graphics.VertexInfo.loadVertex(VertexInfo.java:746)
at jpcsp.graphics.VideoEngine.executeCommandPRIM(VideoEngine.java:2078)
at jpcsp.graphics.VideoEngine.executeCommand(VideoEngine.java:1133)
at jpcsp.graphics.VideoEngine.executeList(VideoEngine.java:873)
at jpcsp.graphics.VideoEngine.update(VideoEngine.java:572)
at jpcsp.HLE.modules150.sceDisplay$AWTGLCanvas_sceDisplay.paintGL(sceDis
play.java:163)
at org.lwjgl.opengl.AWTGLCanvas.paint(AWTGLCanvas.java:314)
at org.lwjgl.opengl.AWTGLCanvas.update(AWTGLCanvas.java:343)
at sun.awt.RepaintArea.updateComponent(Unknown Source)
at sun.awt.RepaintArea.paint(Unknown Source)
at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
How do I fix this out of memory error and GUI stuff?
- use vertex cache
- enable saving GE screen to Texture instead of memory
- use media engine
- use complier
And everything is going just fine until the first Tartarus trek where the game crash and give me this error message
Running Jpcsp 32bit...
java.lang.OutOfMemoryError
Exception in thread "GUI" java.lang.OutOfMemoryError
at sun.misc.Unsafe.allocateMemory(Native Method)
at java.nio.DirectByteBuffer.<init>(Unknown Source)
at java.nio.ByteBuffer.allocateDirect(Unknown Source)
at jpcsp.graphics.VertexInfo.loadVertex(VertexInfo.java:746)
at jpcsp.graphics.VideoEngine.executeCommandPRIM(VideoEngine.java:2078)
at jpcsp.graphics.VideoEngine.executeCommand(VideoEngine.java:1133)
at jpcsp.graphics.VideoEngine.executeList(VideoEngine.java:873)
at jpcsp.graphics.VideoEngine.update(VideoEngine.java:572)
at jpcsp.HLE.modules150.sceDisplay$AWTGLCanvas_sceDisplay.paintGL(sceDis
play.java:163)
at org.lwjgl.opengl.AWTGLCanvas.paint(AWTGLCanvas.java:314)
at org.lwjgl.opengl.AWTGLCanvas.update(AWTGLCanvas.java:343)
at sun.awt.RepaintArea.updateComponent(Unknown Source)
at sun.awt.RepaintArea.paint(Unknown Source)
at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
How do I fix this out of memory error and GUI stuff?