Hate to Necro a post, but I would like to know if you can allocate more ram. I'm running 64-bit Windows 7 and it bothers me kinda that as the allocated memory nears 100% it starts lagging a bit more, so I want to let it use more ram ya know?
Rollback Post to RevisionRollBack
“Take the first step, and your mind will mobilize all its forces to your aid. But the first essential is that you begin. Once the battle is startled, all that is within and without you will come to your assistance.” ~ Robert Collier
Er.. you don't need to give it more ram, the hell's the matter with you people. If the program needs ram, it'll automatically have it assigned to it. As its needs increase, so too does the ram used. Adding in what's not presently needed does nothing!
I totaly Agree with the qouted person, The problem I got and Fixed with this is Minecraft Crashing DUE to it not starting with enough ram for HD textutres on a PC with 8GB of Ram (Linux-Java told me Out of Ram for function)
So it fixed it in linux and ported it to Windows.
So Yes more RAM is the Best option but it won`t help if MC don't use it at startup.
--- Looking at Notch's code tells me he can fix this by checking file sizes before first renderer and not by upping ram size during it ---
Actually Java applications have a maximum amount of RAM that the Java virtual machine will allow them to allocate, so just because you have RAM doesn't mean Minecraft can use it. This is why the Linux instructions say run with -Xmx1024M -Xms512M options. -Xmx specifies the maximum amount of RAM allowed, 1GB in this case and -Xms specifies the starting amount of RAM which is 512M. Unfortunately the .exe obfuscates this information from us so you can't bump it to 2048M or 4096M if you wish like you could on a Linux box.
Actually Java applications have a maximum amount of RAM that the Java virtual machine will allow them to allocate, so just because you have RAM doesn't mean Minecraft can use it. This is why the Linux instructions say run with -Xmx1024M -Xms512M options. -Xmx specifies the maximum amount of RAM allowed, 1GB in this case and -Xms specifies the starting amount of RAM which is 512M. Unfortunately the .exe obfuscates this information from us so you can't bump it to 2048M or 4096M if you wish like you could on a Linux box.
THANK YOU for clearing that up. Others posting on this thread seem to think that allocating more memory to minecraft won't make a difference. Yes the program will only use what it needs but if there is a 512 cap, Minecraft will EASILY use that and then some. So allocating more will cause less lag and a more steady fps.
Xaatir, unless you have some freaking super computer, I doubt you have a terabyte of RAM. You might have that much memory on your computer, but a terabyte of RAM is plain ridiculous haha. That being said, I too would like to know exactly how to allocate more RAM to minecraft because I just downloaded a photo-realistic texture pack for minecraft and it crashes, stating it does not have enough memory.
I DO have 12 Gigs of RAM, and capable of 24 on this machine... My Video Memory ALONE exceeds 4 Gigs... So, how do i allocate more RAM to multiplayer server??? because i keep running out, and there's NO way my machine should run out of ram.
Er.. you don't need to give it more ram, the hell's the matter with you people. If the program needs ram, it'll automatically have it assigned to it. As its needs increase, so too does the ram used. Adding in what's not presently needed does nothing!
Crazy people.
This man is that answer, HOWEVER your RAM is just a part of your story, the processor matters too, which processor do you have?
Wow the first posts of this topic are pretty freaking funny.
People who didnt know anything and yet answered like they knew.
Now I guess they must feel pretty dumb.
Er.. you don't need to give it more ram, the hell's the matter with you people. If the program needs ram, it'll automatically have it assigned to it. As its needs increase, so too does the ram used. Adding in what's not presently needed does nothing!
Crazy people.
I just can't help myself but to laugh...
It might be a year ago, but even then..
When someone doesnt know anything they shouldnt be talking at all.
Axeblade346: Listen to this person, they know what they're talking about:
due (supposedly) to a lack of ram my minecraft crashes whenever i break a block, hit a mob, or pick up an item. please help! i have reverted to making pointless little circuts in adventurecraft.
Rollback Post to RevisionRollBack
I have lived long enough both in years and in accomplishments.
-Julius Caeser
The Best way to allocate more RAM to java applications is simple, go to your control panel then open the java control panel, go to the java tab then click view. in the row containing the version of java you use go to the "Runtime Parameters. double-click the box then type [ -Xms1200m -Xmx1000m ] Note that you can replace the numbers like "1200" or "1000" with larger or smaller numbers, those numbers are what i use for java. Also note that the first number stands for maximum size and the 2nd number stands for standard, normal, or starter size (whatever you call it there are a few names for it) therefore you cannot make the left number smaller than the right number. After that hit OK then Apply and you're all set! P.S. any number larger than 2047 may crash some 32-bit systems. for best preformance use a 64-bit processor or for HUGE numbers like 10gigs or like 10000mb use a 128-bit processor. and btw im not stupid there are 128-bit processors the 2002 model game consoles have 128-bit. infact there are even 256-bit processors in development but please note these require heavy duty copper or platinum plated circuitboards that no one can afford!
Er.. you don't need to give it more ram, the hell's the matter with you people. If the program needs ram, it'll automatically have it assigned to it. As its needs increase, so too does the ram used. Adding in what's not presently needed does nothing!
Crazy people.
no it does need to allocate more sometimes. when I try to play minecraft with a few bigger mods, it says that " minecraft has run out of memory"
Also, i think you have only 3.X GB of RAM.
Crazy people.
That would be 100% of what it claims is allocated to it. So yes, you need a way to allocate more.
http://www.minecraftforum.net/viewtopic.php?f=1012&t=53686&p=863749#p863749
It is in Post 4
So it fixed it in linux and ported it to Windows.
So Yes more RAM is the Best option but it won`t help if MC don't use it at startup.
--- Looking at Notch's code tells me he can fix this by checking file sizes before first renderer and not by upping ram size during it ---
THANK YOU for clearing that up. Others posting on this thread seem to think that allocating more memory to minecraft won't make a difference. Yes the program will only use what it needs but if there is a 512 cap, Minecraft will EASILY use that and then some. So allocating more will cause less lag and a more steady fps.
This man is that answer, HOWEVER your RAM is just a part of your story, the processor matters too, which processor do you have?
try this !
Mutts World
People who didnt know anything and yet answered like they knew.
Now I guess they must feel pretty dumb.
I just can't help myself but to laugh...
It might be a year ago, but even then..
When someone doesnt know anything they shouldnt be talking at all.
rofl!
By the way, here's another way to increase RAM for minecraft : http://www.minecraftforum.net/topic/645785-fixed-exe-for-out-of-memory-problems/
-Julius Caeser
no it does need to allocate more sometimes. when I try to play minecraft with a few bigger mods, it says that " minecraft has run out of memory"