04-29-2011, 09:08 PM
(04-17-2011, 08:20 PM)hyakki Wrote: I keep it at 1024, try to set the java MaxPermsize size to 300, if the game is crashing with out of permgen space
or in my launcher go to adv -> advanced then check the box that says MaxPermsize, set the value to around 300
do you have more then 2gb of ram?
One of the basic rules of management said that one should change one factor at a time. Just to make sure what fixed the memory related crash of JPCSP, I tested it again. Now I'm sure it was your solution hyakki which fixed it for me.
If anybody else got the problem with:
(03-31-2011, 05:43 PM)Szarikow Wrote: Exception in thread "Odin_Main" java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at jpcsp.Allegrex.compiler.CompilerClassLoader.defineClass(CompilerClass
Loader.java:34)
at jpcsp.Allegrex.compiler.CodeBlock.loadExecutable(CodeBlock.java:152)
at jpcsp.Allegrex.compiler.CodeBlock.compile(CodeBlock.java:476)
at jpcsp.Allegrex.compiler.CodeBlock.getExecutable(CodeBlock.java:490)
at jpcsp.Allegrex.compiler.Compiler.analyse(Compiler.java:301)
at jpcsp.Allegrex.compiler.Compiler.compile(Compiler.java:356)
at jpcsp.Allegrex.compiler.Compiler.compile(Compiler.java:331)
at jpcsp.Allegrex.compiler.CompilerClassLoader.findClass(CompilerClassLo
ader.java:50)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at _S1_3_8B905B4.s(_S1_3_8B905B4.java:44)
at _S1_3_8B905B4.exec(_S1_3_8B905B4.java)
at jpcsp.Allegrex.compiler.RuntimeContext.jumpCall(RuntimeContext.java:116)
at jpcsp.Allegrex.compiler.RuntimeContext.call(RuntimeContext.java:195)
at _S1_3_8C8C5C4.s(_S1_3_8C8C5C4.java:32)
at _S1_3_8C8C5C4.exec(_S1_3_8C8C5C4.java)
at jpcsp.Allegrex.compiler.RuntimeContext.jumpCall(RuntimeContext.java:116)
at jpcsp.Allegrex.compiler.RuntimeContext.call(RuntimeContext.java:195)
at _S1_3_8C5B078.s(_S1_3_8C5B078.java:164)
at _S1_3_8C5B190.s(_S1_3_8C5B190.java:48)
at _S1_3_8C5B190.exec(_S1_3_8C5B190.java)
at jpcsp.Allegrex.compiler.RuntimeContext.jumpCall(RuntimeContext.java:116)
at jpcsp.Allegrex.compiler.RuntimeContext.call(RuntimeContext.java:195)
at _S1_3_8C57204.s(_S1_3_8C57204.java:148)
at _S1_3_8C572C8.s(_S1_3_8C572C8.java:176)
at _S1_3_8C5746C.s(_S1_3_8C5746C.java:44)
at _S1_3_8C5746C.exec(_S1_3_8C5746C.java)
at jpcsp.Allegrex.compiler.RuntimeContext.jumpCall(RuntimeContext.java:116)
The proper way to solve it is to do what hyakki suggested.
By the way, thank you pal.