04-20-2011, 02:41 PM
(04-20-2011, 01:59 PM)Finzy Wrote: Okay, got it.
And is there any way to fix my java running out of memory and freezing every once in a while? Usually I can play for around 30 mins fine, then I get an "out of memory" java exception error and the emulator freezes completely. Using r2095 and XmX set to highest possible (around 1568), maximum method size set to 100. (And I've got 4 GB worth of RAM so that should be enough...)
Umm... have u tried Hyakki's launcher..? In Advanced tab, try setting higher values for PermGenSpace...
Or if u aren't using launcher, u can modify start-window-x86.bat in a line which contains this particular code :
Code:
"%JAVA_HOME%\bin\java" -Xmx1024m -Djava.library.path=lib/windows-x86 -jar bin/jpcsp.jar
Code:
"%JAVA_HOME%\bin\java" -Xmx1024m -XX:MaxPermSize=500m -XX:+AggressiveHeap -XX:+UseParallelGC -XX:ParallelGCThreads=4 -Djava.library.path=lib/windows-x86 -jar bin/jpcsp.jar
I also added some other arguments such as parallel garbage collector threads and aggressive heap... For me this added a small FPS boost in KH:BBS, though I don't know if this will work for others ....