Allocate More Memory To Minecraft
#31
Posted 15 September 2011 - 08:49 AM

#32
Posted 16 September 2011 - 08:43 PM

Xbox: Cowz go Moo
I played wayyyyyyy toooo much COD4 i think when im 70 and struggle to remember my kids names, ill still be able to run through the maps.
#33
Posted 02 October 2011 - 02:08 AM
I was trying various configurations to allocate memory but my command window would open up then immediately close or JVM would not launch, etc.
I have Win7 Ultimate 64-bit, 12 GB RAM, with current version of Java installed.
I created a batch file & updated my PATH variable with directory of current Java version.
Batch file contains (use your own c:\path2minecraft.exe here):
javaw -Xms768m -jar "c:\minecraft\Minecraft.exe"
Added this to PATH (don't forget the semi-colon to separate this path from previous one):
;C:\Program Files (x86)\Java\jre6\bin
For Win7 Ultimate I right click Computer > Properties > Advanced System Settings > Advanced Tab > Environmental Variables > System Variables > highlight PATH then click EDIT. Add semi-colon then PATH to current version of Java then press Okay.
I've read about other people starting minecraft.exe with -Xmx parameter but I could not get various options to work (even though I have 12 GB RAM).
I only changed my memory allocations on this machine due to in-game memory crashes every 90 to 120 seconds of running around outside. Once I allocated 768m I haven't had a memory crash in about 10 hours of game play. This started happening to my machine since 1.7.
The same machine runs minecraft flawless in Fedora Core 15 without memory modifications but Ventrilo support doesn't exist for Linux distributions so I use Windows.
#34
Posted 05 October 2011 - 01:05 AM
thats interesting because by default it uses -xms500M

#35
Posted 01 November 2011 - 05:13 PM
Check the attachment.
Any suggestions as to why?
If the attachment doesn't work, go here. http://puu.sh/7Xnj
#36
Posted 02 November 2011 - 11:33 AM
WHY?!?!?
I'm just being random, so:![]()
That was awesome Double. You are a god among men.
I love you just so you know <3333 lol
#37
Posted 04 November 2011 - 03:29 PM
Okay, this is what I get, when I do this.
Check the attachment.
Any suggestions as to why?
If the attachment doesn't work, go here. http://puu.sh/7Xnj
seems like remove the word java outside the quotes before the -Xms

#38
Posted 06 November 2011 - 01:24 PM
seems like remove the word java outside the quotes before the -Xms
Definitely love you right now! (no homo), thank you SO much
#39
Posted 17 November 2011 - 10:36 AM
#40
Posted 17 November 2011 - 11:23 AM
I'm just being random, so:![]()
That was awesome Double. You are a god among men.
I love you just so you know <3333 lol
#41
Posted 18 November 2011 - 09:26 AM
#42
Posted 26 November 2011 - 12:19 AM
anyways this is a picture of what happens every 5 mins in minecaft, it just starts halting and freezing up and the ram numbers dont appear to change but it gets those huge spikes..
please help

i love posts like this because they dont explain anything about what they mean they just assume the person reading knows as much about this stuff as them. you changed the PATH variable. ok ill just go do that, then ill do everythign else this post says that makes absolutely no sense to meThought I'd share my success at memory allocation changes with those who are interested.
I was trying various configurations to allocate memory but my command window would open up then immediately close or JVM would not launch, etc.
I have Win7 Ultimate 64-bit, 12 GB RAM, with current version of Java installed.
I created a batch file & updated my PATH variable with directory of current Java version.
Batch file contains (use your own c:\path2minecraft.exe here):
javaw -Xms768m -jar "c:\minecraft\Minecraft.exe"
Added this to PATH (don't forget the semi-colon to separate this path from previous one):
;C:\Program Files (x86)\Java\jre6\bin
For Win7 Ultimate I right click Computer > Properties > Advanced System Settings > Advanced Tab > Environmental Variables > System Variables > highlight PATH then click EDIT. Add semi-colon then PATH to current version of Java then press Okay.
I've read about other people starting minecraft.exe with -Xmx parameter but I could not get various options to work (even though I have 12 GB RAM).
I only changed my memory allocations on this machine due to in-game memory crashes every 90 to 120 seconds of running around outside. Once I allocated 768m I haven't had a memory crash in about 10 hours of game play. This started happening to my machine since 1.7.
The same machine runs minecraft flawless in Fedora Core 15 without memory modifications but Ventrilo support doesn't exist for Linux distributions so I use Windows.
the first post in the thread explains how to do what the person is saying in ways that people who arent java wizards can understand and do , step by step... so if this actually works it would be helpful for you to do that
#43
Posted 26 November 2011 - 05:42 PM
When I double click on the .bat which is on my Desktop the window for it open briefly and then vanishes so I can't see what it says. I tried the pause at the end and it didn't work. Got any suggestions?
something is very wrong of the pause is not working
One thing people dont understand is that garbage collection is based on cpu as well as ram, which is why the total amount of ram allocated can have different results.
i get could not create virtual java machine when i do this. ive been trying several different ways and getting the same results . extremely frustrating because ive been dealing with this crashing problem ever since i started playing and havent found a solution that works for me, but this apparently works for everyone but me ..
anyways this is a picture of what happens every 5 mins in minecaft, it just starts halting and freezing up and the ram numbers dont appear to change but it gets those huge spikes..
please help
i love posts like this because they dont explain anything about what they mean they just assume the person reading knows as much about this stuff as them. you changed the PATH variable. ok ill just go do that, then ill do everythign else this post says that makes absolutely no sense to me
the first post in the thread explains how to do what the person is saying in ways that people who arent java wizards can understand and do , step by step... so if this actually works it would be helpful for you to do that
we use teamspeak and there is indeed linux teamspeak clients

#44
Posted 01 March 2012 - 09:00 AM
Ok i fixed this but now i get a pop up saying that it couldnt create the virtual machine
Edited by mw94xbox, 01 March 2012 - 09:26 AM.
#45
Posted 09 March 2012 - 05:37 PM
javaw -Xmx2048m -Xms1024m -jar "%appdata%\.minecraft\bin\Minecraft.jar"
for the text file. I saved it as a batch file and then clicked on it and it says "Could not create the Java Virtual Machine." like I saw some other people got. Before using that, I put
javaw -Xmx2048m -Xms1024m -jar "C:\Users\*************\Desktop\Minecraft.exe"
which is the correct location for Minecraft.exe and I got the same error. I'm not really sure what's wrong. I've searched how to fix the JVM problem but I couldn't seem to find anything helpful. I hope there's a way to fix this as when playing in single player, the game crashes every two minutes saying that it ran out of allocated memory v.v
Sorry if I didn't provide enough information, I'm not like THAT aware of how all this stuff works, I only have mild experience with it.
heh ;D
Edited by Sporkflips, 10 March 2012 - 11:52 AM.
#46
Posted 18 March 2012 - 04:20 PM
Instead of doing javaw -Xmx2048m -Xms1024m -jar "C:\<your minecraft directory\Minecraft.exe";
I reccommend replacing the -Xms1024 with -Xincgc. This allows the minecraft application to use as much memory as it wants, until it reaches two gigabytes. This prevents many bugs/crashes. I am pretty sure it works on most computers; it works on my windows 7 64 bit, 8 gig.
Edited by SeargentGen, 19 March 2012 - 05:03 PM.

#47
Posted 19 March 2012 - 05:10 PM
This error is usually caused by more memory being allocated to run minecraft than what is available, or you are using more than 1.5 gigabytes on a 32-bit Java. I'd first making sure you aren't allocated more memory than what exists to the minecraft, and if that doesn't work, upgrade to a 64-bit Java(I recommend Java 7). Also, read my other post about switching to xincgc, which fixes many of the glitches some of you are also experiencing. If you have any questions, I am usually on teamspeak.

#48
Posted 26 March 2012 - 08:39 PM

Here is my batch file text:
#49
Posted 26 March 2012 - 09:32 PM
Otherwise, it looks correct.
#50
Posted 27 March 2012 - 05:41 PM
I suggest double checking the file path of MineCraft.exe. That would explain why it can't find your jar. Otherwise, it looks correct.
The file path is correct. I guess it's just not going to work. Bummer.
#51
Posted 28 March 2012 - 05:18 AM
[lulz] I hacked in your computer and checked the file path, it seems.ok[/lulz]I suggest »double« checking the file path of MineCraft.exe.
Now serious:
Try opening a new notepad and type it over instead of just copy/paste.
Even though some characters like a minus "-" or a dot "." seem the same, they can be different per language typed in.
It doesn't make any sence, but it has solved problems like this before
I'm just being random, so:![]()
That was awesome Double. You are a god among men.
I love you just so you know <3333 lol
#52
Posted 05 April 2012 - 06:53 PM
I have the same error like: JamesChism and i dont know what to do. . .
Bat: javaw -Xmx2048m -Xms1024m -jar "C:\Users\Thexan\Desktop\Minecraft.exe"
Pic:

If i put the bat file on desktop the same error, if i choose -Xincgc the same error.
Can you pls help me samehow?
I have Skype Xfire so pls tell me.
Thanks.
Edited by Danielson, 06 April 2012 - 04:27 AM.
#53
Posted 11 April 2012 - 11:35 PM
How much money do you want?
I wish i had that much to give you!!!!
#54
Posted 18 April 2012 - 12:16 AM
#55
Posted 18 April 2012 - 05:37 AM
You have to fill in the path to your minecraft directory yourself.i am running an Alienware m15x laptop with 64-bit windows 7. i have 6G of RAM and i have tried many of the things above. sometimes the .bat file i would make would open the command promt and close it instantly, and other times i would open it an it would say "Unable to access jarfile C:\<your minecraft directory\Minecraft.exe" i am kinda confused as to what i'm doing in detail but i have an overall idea.
./epicfail
I'm just being random, so:![]()
That was awesome Double. You are a god among men.
I love you just so you know <3333 lol
#56
Posted 15 May 2012 - 10:32 PM
#57
Posted 18 May 2012 - 02:29 PM
http://www.nextgenup...ecraft-mac.html
Edited by supraboy97, 18 May 2012 - 02:30 PM.
#58
Posted 19 May 2012 - 08:35 PM
#59
Posted 30 May 2012 - 05:00 AM
#60
Posted 14 July 2012 - 08:03 PM
Similar Topics
| Topic | Forum | Started By | Stats | Last Post Info | |
|---|---|---|---|---|---|
[g+] Http://youtu.be/ohvv2lyppda Great Video Of His House By Maxandriy #minecraft  |
Minecraft Forums | mumblerit |
|
|
|
Pinned Download Previous Versions Of Minecraft |
Tutorials | Map_Designer |
|
|
|
[g+] #minecraft Lets Live Here... |
Minecraft Forums | mumblerit |
|
|
|
1v3 Outside Spawn Ezz |
Minecraft Videos & Screenshots | Mathewnator |
|
|
|
[g+] Tehsabbingslayer Made Some Entries For The Jinx #minecraft  Tshirt Contest, More Designs Here:â Http:/... |
Minecraft Forums | mumblerit |
|
|







Back to top











