I need to allocate more ram to minecraft.
Here are my computer stats:
64 bit
8.00 GB ram
Windows 7 Home premium
What I have tried:
Running a cmd with -Xincgc -Xmx2048M. When I try this the only one it lets me do is 1024M, otherwise it says: Error:Could not create the Java Virtual Machine Error: A fatal exception has occurred. Program will exit.
PLEASE HELP ME If it helps my computer says it has 64 bit in the computer properties, but I have a x86 program file?!
Uninstall the 32bit version. It is still overriding your 64bit version if still installed.
If not there is something else going on. Also why -Xincgc.
OR
Take your minecraft.exe and put it in a folder. Then make a batch file with the following in it, in the same folder.
set APPDATA=%cd%
javaw -Xms512M -Xmx1024M -cp Minecraft.exe net.minecraft.LauncherFrame
That will make minecraft use the same folder instead appdata/roaming/.minecraft.
Also this will let you make multiple minecraft clients, easy to manage and each can be adjusted to their own Ram needs "maybe one with high HD texture pack, and then one normal minecraft."
Also just remove the set appdata and it will just launch the game with ever how much ram you set.
-Xms512M, this is initial size of RAM allocated to minecraft. -Xmx1024M is the max amount of RAM minecraft can have before it crashes with out of memory.
Here are my computer stats:
64 bit
8.00 GB ram
Windows 7 Home premium
What I have tried:
Running a cmd with -Xincgc -Xmx2048M. When I try this the only one it lets me do is 1024M, otherwise it says:
Error:Could not create the Java Virtual Machine
Error: A fatal exception has occurred. Program will exit.
PLEASE HELP ME
If it helps my computer says it has 64 bit in the computer properties, but I have a x86 program file?!
-
View User Profile
-
View Posts
-
Send Message
Moderatorrun a cmd window (with the run command)
and type
java -version
then post what it says
Java <tm> SE runtime Environment build 1.7.0_07-b11
Java Hotspot<tm> client VM <build 23.3-b01, mixed mode, sharing>
-
View User Profile
-
View Posts
-
Send Message
Moderatorhttp://www.java.com/en/download/manual.jsp
If not there is something else going on. Also why -Xincgc.
OR
Take your minecraft.exe and put it in a folder. Then make a batch file with the following in it, in the same folder.
That will make minecraft use the same folder instead appdata/roaming/.minecraft.
Also this will let you make multiple minecraft clients, easy to manage and each can be adjusted to their own Ram needs "maybe one with high HD texture pack, and then one normal minecraft."
Also just remove the set appdata and it will just launch the game with ever how much ram you set.
-Xms512M, this is initial size of RAM allocated to minecraft. -Xmx1024M is the max amount of RAM minecraft can have before it crashes with out of memory.
Normally you only have to increase -xmx.
or you can try using a different launcher, like the MagicLauncher: http://www.minecraftforum.net/topic/939149-launcher-magic-launcher-100-mods-options-news/
Hope this helps!