Jump to content
Come try out the Arcade, Link at the top of the website ×

Recommended Posts


  • Member ID:  2465
  • Group:  +++ Minecraft Head Admin
  • Followers:  30
  • Topic Count:  170
  • Topics Per Day:  0.03
  • Content Count:  1818
  • Content Per Day:  0.36
  • Reputation:   1937
  • Achievement Points:  14560
  • Solved Content:  0
  • Days Won:  2
  • Joined:  05/06/11
  • Status:  Offline
  • Last Seen:  
  • Birthday:  04/17/1972
  • Device:  Windows

Posted

Im getting a lot of lag, then the game freezes for about 15 seconds, runs good for about 5 seconds and then freezes for another 15 seconds and this keeps going on until i close and restart the game. Then today i got this message, any idea?

53c00fe83707b_Capture.png



  • Member ID:  479
  • Group:  **- Inactive Registered Users
  • Followers:  6
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  143
  • Content Per Day:  0.03
  • Reputation:   106
  • Achievement Points:  1042
  • Solved Content:  0
  • Days Won:  0
  • Joined:  09/21/09
  • Status:  Offline
  • Last Seen:  
  • Birthday:  07/17/1978

Posted

Allocating Minecraft more memory is probably thee best way to prevent the Minecraft Has Run Out of Memory crash. Increasing the amount of RAM available to Minecraft  is a virtually guaranteed method to stop the crash happening in the future. However, you are first going to have to know how much RAM your computer has.


Due to the fact Minecraft uses Java as a runtime environment the amount of memory that it is allocated by default is capped at 1GB. Annoyingly, this is true no matter how much RAM your computer actually has installed as hardware. This is why so many users who are using high-end gaming PCs are so confused when they encounter this error, despite the fact that their computers should be more than capable of running the game. But fear not if you are one of those people, this guide should help fix all of your woes!

It is important to note that you should never allocate the entire amount of RAM that your computer possess into running Minecraft. This has a risk of causing instability in other programs running in the background and causing them to crash instead of Minecraft.

How to Allocate Minecraft More Memory

1. Move your Minecraft.exe into a new folder by itself.

2. Open up Notepad in order to create a new text file. In your text file you need to write the following:

java -Xmx2048M -Xms2048M -jar “minecraft.exe”

(In the following example we are going to allocate 2GB of RAM, for every extra GB of RAM your wish to allocate from your system increase the amount by 1024. Make sure to check how much RAM your system actually has before you try this!)

3. Now you need to save this text as a .bat file in the same folder as your Minecraft.exe. You can name your file whatever you wish.

If at first your Minecraft does not open after having done this then we’re going to have to do some experimenting with our .bat file! Try each of the following in order to get it to work:

  • Change java to javaw
  • Remove the quotation marks around minecraft.exe
  • Add “Pause” on a new line of the .bat after the command.

Depending on your operating system and your version of Java you will need to experiment between using each one of these separately and in conjuction with one another.

If none of these options work then you will want to try the following in your .bat file instead:

“C:\Windows\System32\javaw.exe” -Xmx2048M -Xms2048M -jar “Minecraft.exe”

You may once again need to do some experimenting with quotation marks and javaw.

allocating-minecraft-more-memory.jpg

You can tell if you have allocated Minecraft more memory correctly by opening up the console with F4 whilst in the game and checking in the top right of your window for this.

If you are struggling to get the above method to work then you may benefit from watching the below video on allocating Minecraft more memory.

 

 

If you are still experiencing issues when allocating Minecraft more memory then you may wish to try some of our other fixes which you can find by clicking here.

This article was posted in Uncategorized and tagged Minecraft Has Run Out of Memory Fix, Out of Memory Fix. Bookmark the permalink. Follow comments with the RSS feed for this post.Post a Comment or leave a trackback: Trackback URL.


  • Member ID:  20789
  • Group:  **- Inactive Registered Users
  • Followers:  28
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  936
  • Content Per Day:  0.23
  • Reputation:   325
  • Achievement Points:  7004
  • Solved Content:  0
  • Days Won:  0
  • Joined:  01/12/14
  • Status:  Offline
  • Last Seen:  
  • Birthday:  04/18/1981

Posted

Also, if you have a 64 bit OS be sure you have the 64 bit version of Java installed, you can check programs and features in the control panel so see if it is there. I would recomend getting the latest version of Java 7 as well, then get the 32 bit and 64 bit and remove all old versions. 

 

You can also just modify the launcher, seen below, click on the Edit Profile button

 

 

 

ZmTcrM5.png

 

 

 

Then towards the bottom put a check in the box for JVM Arguments, change it to -Xmx2G if you like, that gives you 2GB of RAM for Minecraft. You can also increase it as needed, I normally run at 4GB....

 

 

 

IvZxSkq.png



  • Member ID:  2465
  • Group:  +++ Minecraft Head Admin
  • Followers:  30
  • Topic Count:  170
  • Topics Per Day:  0.03
  • Content Count:  1818
  • Content Per Day:  0.36
  • Reputation:   1937
  • Achievement Points:  14560
  • Solved Content:  0
  • Days Won:  2
  • Joined:  05/06/11
  • Status:  Offline
  • Last Seen:  
  • Birthday:  04/17/1972
  • Device:  Windows

Posted (edited)

@@DeemerXI @@Fir3Marshal

 

Thank you gents, I followed Deemer's post and it ran the game but ddint seem to change the allocation. After messing with quotations etc, still no change. Then I fallowed Fir3's and worked like a charm..

 

We shall see how this runs the game now..  :animier:

 

 

P.S. since im running 32gig of ram i allocated 16 gig lol..

Edited by KingStinger!


  • Member ID:  20789
  • Group:  **- Inactive Registered Users
  • Followers:  28
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  936
  • Content Per Day:  0.23
  • Reputation:   325
  • Achievement Points:  7004
  • Solved Content:  0
  • Days Won:  0
  • Joined:  01/12/14
  • Status:  Offline
  • Last Seen:  
  • Birthday:  04/18/1981

Posted

Haha, the funny thing is, it might actually try to use that much! :D


Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.