03-31-2011, 05:43 PM
As of revision 2050 Valkyria Chronicles 2 works nicely, but I'm getting following errors every now and then :
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)
It crashes the emu. Earlier on I had also :
Java HotSpot Client VM warning: CodeCache is full. Compiler has been disabled.
Java HotSpot Client VM warning: Try increasing the code cache size using -XX:ReservedCodeCacheSize=
So I added following option to the bat file:
-XX:ReservedCodeCacheSize=128m
It doesn't seem to appear anymore, though the game nor emu didn't crash when that error appeared.
My config is :
Graphics:
- Only GE
- Use Shaders
- Use Geometry Shader (now that I think about it, it probably doesn't work under XP)
- Enable VAO
- Enable saving GE screen to Textures
- Enable Decoding of Indexed Textures
Media:
- Use MediaEngine
- Decode audio with SonicStage
My PC is:
CPU - Core 2 Duo E6750 @ 2.66GHz
RAM - 2GB DDR2 800 MHz
GPU - GF 8800 GT 512 MB
OS - Windows XP SP3
P.S. I tried using build in gamepad mapping, but after mapping one analog stick the game responded only to one axis on another analog stick (my pad has 5 axis in total: two analog sticks and two analog triggers which count as one axes).
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)
It crashes the emu. Earlier on I had also :
Java HotSpot Client VM warning: CodeCache is full. Compiler has been disabled.
Java HotSpot Client VM warning: Try increasing the code cache size using -XX:ReservedCodeCacheSize=
So I added following option to the bat file:
-XX:ReservedCodeCacheSize=128m
It doesn't seem to appear anymore, though the game nor emu didn't crash when that error appeared.
My config is :
Graphics:
- Only GE
- Use Shaders
- Use Geometry Shader (now that I think about it, it probably doesn't work under XP)
- Enable VAO
- Enable saving GE screen to Textures
- Enable Decoding of Indexed Textures
Media:
- Use MediaEngine
- Decode audio with SonicStage
My PC is:
CPU - Core 2 Duo E6750 @ 2.66GHz
RAM - 2GB DDR2 800 MHz
GPU - GF 8800 GT 512 MB
OS - Windows XP SP3
P.S. I tried using build in gamepad mapping, but after mapping one analog stick the game responded only to one axis on another analog stick (my pad has 5 axis in total: two analog sticks and two analog triggers which count as one axes).