Adjusting Java heap space for MCreator 1.6??

2 posts / 0 new
Last post
Offline
Last seen: 3 weeks 4 days ago
Joined: 06/08/2014 - 03:27
Gems: 4
Adjusting Java heap space for MCreator 1.6??

Hi

 

I'm trying to get MCreator 1.6.0 to start up with a larger heap space than the default 256 MB.  For 1.5.9, I could pass -Xmx and -Xms command line args to get MCreator to start with a larger heap space.  Can't seem to do that with 1.6.0.  I've tried the settings withing MCreator itself, but it still seems to only start with a small heap space.

 

Is there some way to start MCreator 1.6.0 just like 1.5.9?  That I can use the "java.exe" command *with* the -Xmx/-Xms args?

Much thanks!



Offline
Last seen: 3 weeks 4 days ago
Joined: 06/08/2014 - 03:27
Gems: 4
Hah, never mind, I figured it

Hah, never mind, I figured it out.

Step 1:  Go to C:\Pylo\MCreator160 (or wherever your install is located)

Step 2:  Create a batch file (name it something like "mcreator.bat")

Step 3:  This is the code in the batch file:

"./jdk/bin/java.exe" -Xmx1024M -classpath ".;lib/*" si.pylo.mcreator.MainUI
exit

Step 4:  Get something like 7Zip.  Anything that will treat a .jar file as a compressed file (like .zip).

Step 5:  While still in your MCreator install directory, right-click "MCreator.jar" and select "7Zip > Extract Here"

Step 6:  Double click your batch file

Step 7:  Enjoy!

This will allow you to have more heap space for running your test environment, importing .mcr files for LARGE modpacks, etc.