So I'm trying to get more ram for Minecraft, and every time I try to add more this is what I get: Picked up _JAVA_OPTIONS: -Xmx512M
Error occurred during initialization of VM
Incompatible minimum and maximum heap sizes specified
So basically, it can't use more than 512mb of ram. I tried to change the parameters in the javacpl, I tried to reinstall java, and I tried this command: set JAVA_OPTS="-Xms1024m -Xmx2048m".
I have windows 8 64-bit and java 64-bit.
I gave my Minecraft 6GB to run on. You can make it lower, but 6 worked for me the best. Leave at least 1-4 GB of RAM for the other stuff on your computer. You're actually supposed to put half the amount, so 8192/2=4096. But, having 6 doesn't conflict with anything for me. Save this as minecraft.bat or whatever name you want. IT HAS TO HAVE .BAT. You should have a file with two gears on it. Open it and it should launch Minecraft with more RAM.
If that doesn't work, try uninstalling Java and install the latest version. Then do what I just said above.
You may have an environmental argument added by some other process.
To fix this, click on the start menu, and search for "environment". Select "Edit environment variables for your account". If there is an entry for "JAVA_OPTION" or something along the lines of that, deleting it should resolve your issue.
Picked up _JAVA_OPTIONS: -Xmx512M
Error occurred during initialization of VM
Incompatible minimum and maximum heap sizes specified
So basically, it can't use more than 512mb of ram. I tried to change the parameters in the javacpl, I tried to reinstall java, and I tried this command: set JAVA_OPTS="-Xms1024m -Xmx2048m".
I have windows 8 64-bit and java 64-bit.
Put in the text below.
It should look like this:
javaw -Xmx8192m -Xms6144m -jar "C:\Users\X\Desktop\Minecraft.exe"
That is what I put for my .bat file.
Replace "X" with the name of your computer.
I gave my Minecraft 6GB to run on. You can make it lower, but 6 worked for me the best. Leave at least 1-4 GB of RAM for the other stuff on your computer. You're actually supposed to put half the amount, so 8192/2=4096. But, having 6 doesn't conflict with anything for me. Save this as minecraft.bat or whatever name you want. IT HAS TO HAVE .BAT. You should have a file with two gears on it. Open it and it should launch Minecraft with more RAM.
If that doesn't work, try uninstalling Java and install the latest version. Then do what I just said above.
Hope this helped!
-
View User Profile
-
View Posts
-
Send Message
Retired Staffhttp://www.minecraft.../#entry23835981
You may have an environmental argument added by some other process.
To fix this, click on the start menu, and search for "environment". Select "Edit environment variables for your account". If there is an entry for "JAVA_OPTION" or something along the lines of that, deleting it should resolve your issue.