EmuNewz Network
java.lang.OutOfMemoryError - Printable Version

+- EmuNewz Network (https://www.emunewz.net/forum)
+-- Forum: PSP Emulation (https://www.emunewz.net/forum/forumdisplay.php?fid=191)
+--- Forum: JPCSP Official Forum (https://www.emunewz.net/forum/forumdisplay.php?fid=51)
+---- Forum: svn trunk discussion (https://www.emunewz.net/forum/forumdisplay.php?fid=56)
+---- Thread: java.lang.OutOfMemoryError (/showthread.php?tid=3695)



java.lang.OutOfMemoryError - darkrebel - 02-18-2011

today when i play the lord of arcana,the jpcsp crash,and then the cmd console display those message(i think that maybe some useful?):


Running Jpcsp 32bit...
java.lang.OutOfMemoryError
Exception in thread "GUI" java.lang.OutOfMemoryError: OutOfMemoryError
at sun.awt.windows.WComponentPeer.setRectangularShape(Native Method)
at sun.awt.windows.WComponentPeer.applyShape(Unknown Source)
at java.awt.Component.applyCompoundShape(Unknown Source)
at java.awt.Component.applyCurrentShape(Unknown Source)
at java.awt.Container.recursiveApplyCurrentShape(Unknown Source)
at java.awt.Container.recursiveApplyCurrentShape(Unknown Source)
at java.awt.Container.mixOnReshaping(Unknown Source)
at java.awt.Component.reshape(Unknown Source)
at javax.swing.JComponent.reshape(Unknown Source)
at java.awt.Component.setBounds(Unknown Source)
at javax.swing.JRootPane$RootLayout.layoutContainer(Unknown Source)
at java.awt.Container.layout(Unknown Source)
at java.awt.Container.doLayout(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validate(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Sourc
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Sourc
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x69c7f805, pid=2184, tid=3
#
# JRE version: 6.0_21-b07
# Java VM: Java HotSpot™ Client VM (17.0-b17 mixed mode windows-x86 )
# Problematic frame:
# C [nvoglv32.DLL+0x77f805]
#
# An error report file with more information is saved as:
# J:\my\jpcsp--1965-windows-x86\hs_err_pid2184.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
# [ timer expired, abort... ]


ps:i use the jpcsp ver1965, cause the 1993 can't display the img correct


RE: java.lang.OutOfMemoryError - Aredo - 02-18-2011

Try to turn off vertex cache if it is turned on.


RE: java.lang.OutOfMemoryError - darkrebel - 02-19-2011

(02-18-2011, 05:12 PM)Aredo Wrote: Try to turn off vertex cache if it is turned on.

i just turn on "only GE graphics" ,other option was no use


RE: java.lang.OutOfMemoryError - animation31 - 12-27-2012

is there any other fix?? pls reply
im currently playing God of War Chains of Olympus

I tried turning off vertex cache but it would make the game ultimately laggy
and if i dont, when i reach the 1st boss of the game... this shows:

Running Jpcsp 32bit...
java.lang.OutOfMemoryError
Exception in thread "GUI" java.lang.OutOfMemoryError: OutOfMemoryError
at sun.awt.windows.WComponentPeer.setRectangularShape(Native Method)
at sun.awt.windows.WComponentPeer.applyShape(Unknown Source)
at java.awt.Component.applyCompoundShape(Unknown Source)
at java.awt.Component.applyCurrentShape(Unknown Source)
at java.awt.Container.recursiveApplyCurrentShape(Unknown Source)
at java.awt.Container.recursiveApplyCurrentShape(Unknown Source)
at java.awt.Container.mixOnReshaping(Unknown Source)
at java.awt.Component.reshape(Unknown Source)
at javax.swing.JComponent.reshape(Unknown Source)
at java.awt.Component.setBounds(Unknown Source)
at javax.swing.JRootPane$RootLayout.layoutContainer(Unknown Source)
at java.awt.Container.layout(Unknown Source)
at java.awt.Container.doLayout(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validate(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Sourc
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Sourc
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x69c7f805, pid=2184, tid=3
#
# JRE version: 6.0_21-b07
# Java VM: Java HotSpotâ„¢ Client VM (17.0-b17 mixed mode windows-x86 )
# Problematic frame:
# C [nvoglv32.DLL+0x77f805]
#
# An error report file with more information is saved as:
# J:\my\jpcsp--1965-windows-x86\hs_err_pid2184.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
# [ timer expired, abort... ]


RE: java.lang.OutOfMemoryError - digiadventures - 12-27-2012

You need to have 64bit OS, then use 64 bit jpcsp and edit .bat file ( one which you use to start jpcsp ) with text editor such as notepad and increase values in following lines xmx and XX:maxpermsize.
For example xmx2048m XX:maxpermsize1024m



RE: java.lang.OutOfMemoryError - animation31 - 12-28-2012

i have a 64bit pc with 6GB of ram
how many values should iput?
i tried changing the values now every time i start jpcsp it says:

Running Jcpsp 32bit...
Error occurred during intialization of VM
Could not reserve enough space for object heap
Error: Could not create Virtual Machine
Error: A fatal exception has occurred. Program will exit.
Press any key to continue...


RE: java.lang.OutOfMemoryError - Zekro - 12-28-2012

Download the 64 bit of jpcsp not the 32.Also it should be enough doubling the values in xmx(number)m XX:maxpermsize(number)