Page 1 of 1
Java Heap Space syntax

Posted:
13 Feb 2011, 23:19
by timmermac
Can someone tell me what the procedure would be for permanently increasing the Java Heap Space in Windows or just increasing it for Forge just using Windows? I'm getting the impression that the trick I'm using for Forge isn't the way I'm supposed to do it.
Re: Java Heap Space syntax

Posted:
14 Feb 2011, 00:42
by Chris H.
I believe that Fnoed was right when he stated in message
Re: Next beta, 2011 third release that a shortcut would not do the trick.
Have you explored the link in his message? It looks like the
jsmooth-0.9.9-7 application can fairly easily and quickly build a launcher for windows which will increase the heap space used by java while loading the forge JAR.
Re: Java Heap Space syntax

Posted:
14 Feb 2011, 04:24
by ZzzzSleep
I just use a batch file with the following command
"\Program Files (x86)\Java\jre6\bin\java.exe" -Xmx1024M -jar run-forge.jar
You'll need to change it based on where java is installed, but otherwise it should be good.
Re: Java Heap Space syntax

Posted:
14 Feb 2011, 04:27
by Fnoed
I have created an updated launcher, available
here. It is identical to the current one, except it has a 1G heap size.
Re: Java Heap Space syntax

Posted:
14 Feb 2011, 04:36
by timmermac
With this launcher, does it matter where I have Forge located?
Re: Java Heap Space syntax

Posted:
14 Feb 2011, 04:40
by Fnoed
No, but the Forge jar must be named "forge.jar" and be in the same folder as the launcher.
Re: Java Heap Space syntax

Posted:
14 Feb 2011, 04:42
by timmermac
OK, thanks