I have a forge installed with over 132 mods, so I needed to increase the initial heap size to 1Gb. It worked before, but when I tried to launch Minecraft today it came at me with a "Could not reserve enough space for object heap" error. I'm pretty sure even 32 bit Java could manage 1 Gb, but just i case, I made sure I was running on 64 bit Java, and even moved the 32 bit Java to a temporary path to make sure that is the case. It seems to give me that error for any heap size larger than 512 Mb. I would try running it through command line, but the script got a bit more complicated since 1.5 or 1.6.
Technical stuff:
Windows 8 64 bit
JRE 7 64 bit
JVM arguments: -d64 -XX:PermSize=512m -XX:MaxPermSize=512m -Xms1G -Xmx2G
Minecraft 1.6.4
Forge 9.11.965
Well there are no Forge logs since the JVM crashes on the instant it gets called to open. I tried finding any Java crash logs resulting from the crash, but found none. The screenshot is the best log I can provide.
Yea I'm using a custom launcher. It got updated recently and this has been happening ever since. How can a launcher affect the execution of a JVM while passing arguments that clearly shouldn't be causing the problem (unless it's false data and it's setting another value for heap)? I want to test the theory of whether the launcher I'm using is modifying the arguments in the background by running vanila from cmd. While I know the code for the earlier version of minecraft (such as 1.4.7), Mojang switched up the file structure since and is a little more complicated. Have any clue how?
I migrated to using the Magic Launcher. Works like a charm. I don't know how the other launcher is putting in the memory wrong (even the logs don't show anything abnormal), but I'm glad I got this sorted. Thank for the help grimallq!
Unless I figure out how to edit the title, this thread can be marked solved.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Technical stuff:
Windows 8 64 bit
JRE 7 64 bit
JVM arguments: -d64 -XX:PermSize=512m -XX:MaxPermSize=512m -Xms1G -Xmx2G
Minecraft 1.6.4
Forge 9.11.965
I would post logs if it generated any.
Forge crash log: http://pastebin.com/Lui0bh25
Minecraft crash log: http://pastebin.com/Mkn8Ch37
Unless I figure out how to edit the title, this thread can be marked solved.