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: Help with allocating more memory to Minecraft

10 Feb 2012   #1

Windows 7 Professional 32bit
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 correct words. Feel free to correct me):

java -Xmx1024M -Xms1024M -jar "C:\Users\Adrian\Desktop\Minecraft.exe"

When i run it, I can only get it to run up to 1524. anything further and it says in CMD:

Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

Any suggestions with course of action I can take to give it more memory? I'd like to get up to 2.5GB because of how much memory Minecraft likes to snack on.

My System SpecsSystem Spec
01 May 2012   #2

Windows 7 Home Premium 32bit

The reason you can't allocate more RAM to your server then 1524 is because Minecraft servers on a 32bit machine can only process up to 1.5G's of RAM. Any more then that would just give you errors. I suggest upgrading to 64bit.

But in my personal experience if you are playing in SP mods shouldn't give you much lag. Especially if it had 1.5 gigs allocated to it. SP doesn't cause much FPS lag with mods, it's SMP that you gotta worry about.

Good luck friend
Hope this helps :)
My System SpecsSystem Spec
26 Jul 2012   #3

Windows 7 home version (64)

I have 4 gig ram installed in a Compac with an AMD 64 processor. Gamejunky is lucky. Since my old faithful 2 core intel died I cant even play minecraft. I get an error that (choose which one you want) Nvidia is using more memory than it can support, The hmouse is using up memory, JAVA is corrupt and needs replacing. Because of the way that this mB is made I can load a single chip into either socket. I now have 4 gig single speed memory chip in socket 2 because socket 1 will not work.
I power up, allow the system to go through its test, load the necessary programs. I then immediately have to dump the system setup files and clean the disk for me to even be able to type a word. Recently, the system was taken down offline for about 5 hours while I tested another system for repair. The system worked for about 8 hours without a memory glitch. Thinking it might be fixed I allowed it to remain plugged in and connected to the intranet. Next morning, back to same old, same old. I cant figure this out. my son has an identical machine that stays online 24-7 and never has the problem with memory leaks. I am ready to go back to my old AMD and XP Pro.
My System SpecsSystem Spec

28 Jul 2012   #4

Ubuntu 12.10

Use OptiFine - [1.2.5] OptiFine HD_C6 (FPS Boost, HD Textures, AA, AF and much more) - Minecraft Forum for FPS issues.

What program is giving the error? Minecraft?
My System SpecsSystem Spec
29 Jul 2012   #5

Windows 7 Ultimate 64bit

Can I recommend a help channel on an IRC server that is extremely helpful? They have helped me many times and most probably can help you as well. Would it be against the rules of the forum to do so?
My System SpecsSystem Spec
29 Jul 2012   #6

Ubuntu 12.10

@Jackson413 - You can if you want to, but we haven't come to a conclusion whether we can't or can help him yet so...
My System SpecsSystem Spec
30 Jul 2012   #7

Windows 7 Ultimate 64bit

Get an irc client, (or go to and get on (

Go to the channel #minecrafthelp

The people there are beyond awesome at fixing even the hardest problems concerning Minecraft.
My System SpecsSystem Spec

 Help with allocating more memory to Minecraft

Thread Tools

Similar help and support threads
Thread Forum
Allocating space on new ext. HDD
With a new external HDD ... in Windows Disk Management the status is "Unallocated". When I RClick "Disc2" there are two options ... 1. Dynamic Disc 2. GPT Disk When I RClick the hatched area of Disc 2 there is another option
Hardware & Devices
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 ?
Allocating memory
Helo everybody.I have just shrank a volume and now i have : System(C) and Data(E). How can i move 100gb of memory from C(System) to E(Data)? I hope my questions is pretty clear;)
Performance & Maintenance
Memory not allocating correctly -> Crashing on Win 7 64bit.
Hello guys! I've found stuff on these forums to help me out via Google before so thanks for that! I can't really wrap my head around this one though... I've had 4gigs of RAM installed for very long and I was able to work fine with my browser open + Photoshop and Blender in Win XP. I've quite...
Performance & Maintenance
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...

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 14:34.
Twitter Facebook Google+