PDA

View Full Version : Increasing memory?



Daedalus
September 16th, 2011, 15:27
Well I lost my old .BAT file to run MineCraft with more than what it offers, when ever I run MineCraft with more than 1GB ram it gives me a Java error "Could not create Java virtual machine."

How ever I have 8GB ram so I know I have more than enough to run the game lol.

Does anyone have a .BAT file that can run MineCraft with more than 1GB of ram? :/

Here's mine.


@ECHO OFF
"C:\Program Files (x86)\Java\jre6\bin\javaw.exe" -Xmx2048M -Xms2048M -jar "Minecraft.exe"
pause
Note: I've tried running the Java file of MineCraft with the .BAT and nothing happens :/

Any help will be appreciated :)

Ziek`
September 16th, 2011, 16:16
Go find the newest version of the MCPatcher and in the Options tab, increase the Java Heap Size, then patch. I have mine set to 3GB.

Daedalus
September 16th, 2011, 16:20
Did try this :P And when I clicked to test minecraft it came up with an error o;

Edit: IE:


-Xmx2048M -Xms512M net.minecraft.client.Minecraft
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
Minecraft exited with status 1

Ziek`
September 16th, 2011, 16:21
Sounds like your Minecraft is corrupt.

Daedalus
September 16th, 2011, 16:47
I don't believe that can be the case because its nothing up with the file itself, because when I increase the RAM over 1GB (Say 2GB) it gives me that error o.O

Daedalus
September 17th, 2011, 13:20
Nevermind appears no one knows.

/reqlock

Minecraft
September 17th, 2011, 13:32
Are you doing this for a Minecraft server, or the actual Minecraft?

legionkiller99
September 17th, 2011, 14:06
Are you doing this for a Minecraft server, or the actual Minecraft?

The actual minecraft.