Jpcsp Java problem - 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: Hardware infos (https://www.emunewz.net/forum/forumdisplay.php?fid=58) +---- Thread: Jpcsp Java problem (/showthread.php?tid=126937) |
Jpcsp Java problem - elektro12 - 02-01-2013 Hey Guys, first of all, my english is not the very best so please, forgive me. But now the problem: I want to play Monster Hunter Freedom United and have some trouble with the emulator. When i want to start the game the cmd.exe says : Running Jpcsp 32bit... Exception in thread "GUI" java.lang.OutOfMemoryError: Java heap space at jpcsp.MainGUI.loadFile(MainGUI.java:1442) at jpcsp.MainGUI.OpenFileActionPerformed(MainGUI.java:1395) at jpcsp.MainGUI.access$500(MainGUI.java:110) at jpcsp.MainGUI$6.actionPerformed(MainGUI.java:409) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$200(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour ce) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour ce) at java.awt.EventQueue$4.run(Unknown Source) _______________________ Please! could someone help me?! RE: Jpcsp Java problem - uninor - 07-22-2013 Hey elektro12, Not sure if you're even still waiting on an answer, but maybe this will help someone else out... Which version are you trying to run? How large is the file you are trying to load? This is just pure speculation from the limited info you sent, but it might be due to the fact that the file size exceeds the max memory, but is less than 1GB. From briefly looking at the code, it appears that files larger than 1GB will be loaded in chunks. However, if you are running on WinXP, it looks like the batch file that starts up the app sets your max memory to 768MB. So if the file is under 1GB but over 768MB, you're likely to have an issue. Depending on how much RAM you have, try increasing the max heap size. if %ERRORLEVEL% EQU 0 set MAX_MEM_SIZE=768m That's the line you'd be concerned about. Try bumping that up to 1024m and try again. |