Java Heap Space syntax
by mtgrares
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
7 posts
• Page 1 of 1
Java Heap Space syntax
by timmermac » 13 Feb 2011, 23:19
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.
"I just woke up, haven't had coffee, let alone a pee in 7 days, and I find out you stole my ass and made a ...mini-me! Carter, I should be irked currently, yes?" - Jack O'Neill
Re: Java Heap Space syntax
by Chris H. » 14 Feb 2011, 00:42
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.
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.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Java Heap Space syntax
by ZzzzSleep » 14 Feb 2011, 04:24
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.
"\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
by Fnoed » 14 Feb 2011, 04:27
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
by timmermac » 14 Feb 2011, 04:36
With this launcher, does it matter where I have Forge located?
"I just woke up, haven't had coffee, let alone a pee in 7 days, and I find out you stole my ass and made a ...mini-me! Carter, I should be irked currently, yes?" - Jack O'Neill
Re: Java Heap Space syntax
by Fnoed » 14 Feb 2011, 04:40
No, but the Forge jar must be named "forge.jar" and be in the same folder as the launcher.
Re: Java Heap Space syntax
by timmermac » 14 Feb 2011, 04:42
OK, thanks
"I just woke up, haven't had coffee, let alone a pee in 7 days, and I find out you stole my ass and made a ...mini-me! Carter, I should be irked currently, yes?" - Jack O'Neill
7 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 40 guests