A while ago- around the time the new launcher came out, I had the need to allocate more RAM to Minecraft, and the new launcher made it (seem) easy in doing so...
... I go in and allow around 2G to start with, figuring I'd slowly go up, 4G is as much as I'd need.
I try using 2G, start Minecraft, and this error comes up:
Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.
Screenshot:
I did a bit of research, and found this is a cause of not having enough RAM to allocate to Minecraft.
I immediately, and still am, got confused; I have 16G of RAM, and I only use ~3 on a normal basis.
And then it got weirder.
I tried reducing the value from 2G to 1.5G, then to 1.25G, then to 1.15, 1.05, 1.025, 1.00001.
I got the same error each time.
But then, when I type in the exact amount of 1G or 1024M, it works perfectly, and nothing is strained.
Is this an error with some sort of RAM limit?
Anyway, thanks for reading; please reply, they're all appreciated!
The popup shows an error that gets thrown when the JVM fails to start.
This can be because you've got valid arguments that just won't work for you, e.g. asking for a heap size that with a 32bit JVM causes the 2G 32bit process size limit to be exceeded.
Or it can be because you've got a typo.
Or, the most likely scenario given your symptoms, you've got arguments that don't make sense together.
Xmx (max heap) and Xms (start heap) must make sense together and not conflict. AND any environment variable like JAVA_OPTIONS that plays with these must also make sense with what you put in the launcher box.
I tried re-installing Java, and going back to doing something along the lines of: -Xmx3G -Xms2G
... but it produces the same exact effect.
More help?
Because I assume you're just reinstalling the 32-bit version of Java, which will always throw you the error, as it will not allow anything more than 1.5GB of allocation.
A while ago- around the time the new launcher came out, I had the need to allocate more RAM to Minecraft, and the new launcher made it (seem) easy in doing so...
... I go in and allow around 2G to start with, figuring I'd slowly go up, 4G is as much as I'd need.
I try using 2G, start Minecraft, and this error comes up:
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Screenshot:
I did a bit of research, and found this is a cause of not having enough RAM to allocate to Minecraft.
I immediately, and still am, got confused; I have 16G of RAM, and I only use ~3 on a normal basis.
And then it got weirder.
I tried reducing the value from 2G to 1.5G, then to 1.25G, then to 1.15, 1.05, 1.025, 1.00001.
I got the same error each time.
But then, when I type in the exact amount of 1G or 1024M, it works perfectly, and nothing is strained.
Is this an error with some sort of RAM limit?
Anyway, thanks for reading; please reply, they're all appreciated!
(Hehe, first post!)
This can be because you've got valid arguments that just won't work for you, e.g. asking for a heap size that with a 32bit JVM causes the 2G 32bit process size limit to be exceeded.
Or it can be because you've got a typo.
Or, the most likely scenario given your symptoms, you've got arguments that don't make sense together.
Xmx (max heap) and Xms (start heap) must make sense together and not conflict. AND any environment variable like JAVA_OPTIONS that plays with these must also make sense with what you put in the launcher box.
-Xmx3G -Xms2G
... but it produces the same exact effect.
More help?
-
View User Profile
-
View Posts
-
Send Message
Retired StaffBecause I assume you're just reinstalling the 32-bit version of Java, which will always throw you the error, as it will not allow anything more than 1.5GB of allocation.
Please install 64-bit Java,
http://java.com/en/download/manual.jsp
Even so, there is no real need to allocate more unless you're using an ultra high resolution texture pack, or are using mods.
Truly just post the contents of the development console to shed more light.