Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How do I add memory to Minecraft

23 Jul 2012   #1
ComputerN00b

Windows 7 Home Premium 64bit
 
 
How do I add memory to Minecraft

Hi all I have seen a couple of tutorials on how to add memory to Minecraft but none of them have worked very effervescently what is the best way I could do this ?


My System SpecsSystem Spec
23 Jul 2012   #2
Everlong

 

Make sure you have 64 bit Java installed as you're using 64 bit Windows.

Open Notepad and add this line to it:

javaw -Xmx7168m -Xms3584m -jar "<your minecraft directory\Minecraft.exe"

Fill in the Minecraft directory with where your Minecraft.exe is located. Save the Notepad file as a .bat file (change the "save as type" in the Save dialog and save it as MinecraftMem.bat or something), then simply right click on the batch file and run as administrator and it should increase the memory Minecraft is allowed to use.

For background info on what the batch file will be doing.

The -Xmx command is the maximum amount of memory Minecraft can use. As you have 8GB of RAM in your system, this is setting the maximum amount of RAM Minecraft can use to 7GB. The -Xms command is the initial amount of memory allocated is the amount available for direct usage. Obviously you can switch the values around to what you actually want to use, but I'd say they are adequate values.
My System SpecsSystem Spec
23 Jul 2012   #3
ComputerN00b

Windows 7 Home Premium 64bit
 
 

Well thanks for your reply but this is what i typed: javaw -Xmx7168m -Xms3584m -jar C:\Users\Meer Gallagher\Games\Sandbox\Mineceaft.exe and i opend the file and it said this: Error:unable to acess jar file C:\Users\Meer Gallagher\Games\Sandbox\Mineceaft.exe
My System SpecsSystem Spec
23 Jul 2012   #4
Everlong

 

Is "Mineceaft" a spelling mistake or is your Minecraft.exe really named that?
My System SpecsSystem Spec
23 Jul 2012   #5
vaidas3

Windows 7 pro 64bit. (SP1)
 
 

Quote   Quote: Originally Posted by ComputerN00b View Post
Well thanks for your reply but this is what i typed: javaw -Xmx7168m -Xms3584m -jar C:\Users\Meer Gallagher\Games\Sandbox\Mineceaft.exe and i opend the file and it said this: Error:unable to acess jar file C:\Users\Meer Gallagher\Games\Sandbox\Mineceaft.exe
i think you forgot "" for path.
My System SpecsSystem Spec
23 Jul 2012   #6
ComputerN00b

Windows 7 Home Premium 64bit
 
 

ok well im an idiot for that but i changed it and it still says that ???
My System SpecsSystem Spec
23 Jul 2012   #7
vaidas3

Windows 7 pro 64bit. (SP1)
 
 

Quote   Quote: Originally Posted by ComputerN00b View Post
ok well im an idiot for that but i changed it and it still says that ???
try run as administrator
My System SpecsSystem Spec
23 Jul 2012   #8
ComputerN00b

Windows 7 Home Premium 64bit
 
 

no sorry that comment was to the eirlier post: Is "Mineceaft" a spelling mistake or is your Minecraft.exe really named that? yours worked but now im going to raise another question with the current specs of my computer is there anyway i could run sphax pure bd craft 512x + sonic Esthers unbelievable shaders mod ?
My System SpecsSystem Spec
23 Jul 2012   #9
ComputerN00b

Windows 7 Home Premium 64bit
 
 

ohh i forgot to mention at far render distane
My System SpecsSystem Spec
23 Jul 2012   #10
ComputerN00b

Windows 7 Home Premium 64bit
 
 

and also the original reply only works if you open it via that every time is there a better way that would make the effect permanent ?
My System SpecsSystem Spec
Reply

 How do I add memory to Minecraft




Thread Tools





Similar help and support threads
Thread Forum
Where is the Minecraft launcher?
I'm using the demo version of Minecraft to see if the game and I are compatible. After exiting the game, I wanted to find the launcher to start it for next time, but cannot do so. There doesn't seem to be a shortcut or a minecraft.exe. I found the two .minecraft folders under...
Gaming
Minecraft Low Fps
Hello there! I have a FPS problem with Minecraft. When my game is minimized my fps is around 140-150. ( Screenshot by Lightshot ) But when i maximized it, which is the way i wanna play fullscreen, I get 28-35 Fps ( Screenshot by Lightshot ) Also i have two monitors and i have noticed when i...
Gaming
How to get Minecraft SP to run x64 Java?
Hello. For the last few weeks in rarely touching minecraft, whenever I did, I'd get an "Out of Memory!!" Error message and quit the game. Well, I detected that I was playing Minecraft SP on Java 32 bit, when I have a x64 OS. I tried downloading and installing x64 Java but it made no difference....
Gaming
Help with allocating more memory to Minecraft
I have 4GB of RAM and it uses maybe half a gig. I use an extensive amount of mods and I know that it'll lag the game and cause it to crash. After doing some research I've seen some people allocating more memory to minecraft by creating a .bat file and inserting this coding (assuming I am using the...
Gaming
Help with allocating more memory to Minecraft
I have 2GB of RAM and i use maybe half a gig.After doing some research I've seen some people allocating more memory to minecraft by creating a .bat file and inserting this coding (assuming I am using the correct words. Feel free to correct me): java -Xmx512m -jar Minecraft2.jar stop When i run...
Gaming
Minecraft anyone else play??
Hey guys anyone else here play mine craft??
Gaming

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 19:46.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App