This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
java.lang.OutOfMemoryError
#1
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
Reply
#2
Try to turn off vertex cache if it is turned on.
Reply
#3
(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
Reply
#4
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... ]
Reply
#5
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
Reply
#6
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...
Reply
#7
Download the 64 bit of jpcsp not the 32.Also it should be enough doubling the values in xmx(number)m XX:maxpermsize(number)
Am I the only one with this cool sig?
[Image: ji6WX.png]
[Image: 2404362.png]
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)