How to allocate more RAM to Minecraft?
Posted 29 July 2010 - 03:54 AM
Posted 29 July 2010 - 02:00 PM
Also, i think you have only 3.X GB of RAM.
Posted 25 August 2010 - 03:02 AM
Posted 25 August 2010 - 03:44 AM
Posted 25 August 2010 - 06:02 AM
Posted 25 August 2010 - 11:33 PM
That would be 100% of what it claims is allocated to it. So yes, you need a way to allocate more.
Posted 26 August 2010 - 12:21 AM
Posted 11 October 2010 - 08:44 AM
All you're doing by forcing RAM allocation is taking away RAM from programs that are actually using it, and giving it to Minecraft before it even has any use for it.
Programs won't work at all if they allocate too little RAM, and they don't get any faster if they allocate too much.
What does speed up a program, however, is buying more RAM if a program exceeds your total RAM size in allocated memory (which is extremely rare). Most people here sound like they need a new processor or a faster graphics card anyway.
Posted 12 October 2010 - 07:13 AM
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 ---
Posted 05 January 2011 - 06:47 AM
Posted 05 January 2011 - 08:43 AM
For 2048MB or more you need the 64-bit Java version though, and enough RAM ofc!
eg: "C:\Program Files\Java\jre6\bin\java.exe" -Xmx2048M -Xms1024M -jar "D:\Games\minecraft.jar"
Edit: As this has been necro'd I just want to point out you can use Minecraft.exe instead of minecraft.jar (I didn't know that 7 months ago )
Edited by epikal, 06 September 2011 - 07:15 PM.
Posted 07 May 2011 - 01:21 AM
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.
Posted 14 June 2011 - 02:35 PM
Posted 14 June 2011 - 08:38 PM
Posted 22 June 2011 - 05:36 AM
Posted 22 June 2011 - 06:02 AM
This man is that answer, HOWEVER your RAM is just a part of your story, the processor matters too, which processor do you have?
Posted 06 September 2011 - 03:39 PM
Old but horribly wrong, based on a misunderstanding of how Java apps work, Java apps have a maximum heap size that they will not exceed no matter; if they need more RAM or not. Hitting 100% will very potentially crash the game as it'll hit an out of memory error even if there is RAM to spare.
Posted 06 September 2011 - 07:23 PM
The poster has got all of his examples wrong about memory allocations which will lead to issues.
javaw -Xmx4096m -Xms2048m -jar "C:\<your minecraft directory\Minecraft.exe"
If you are going to necro bump with a link to your mates website, at least make sure the information is correct.