• Our Minecraft servers are offline but we will keep this forum online for any community communication. Site permissions for posting could change at a later date but will remain online.

My Minecraft has run out of memory?

Status
Not open for further replies.

Batuhan

Spectator
Joined
May 18, 2012
Messages
9
Reaction score
0
Everytime im playing on a server, 10 minutes in my screen freezes and and i kicked and it says "minecraft has run out of memory" and then it says i should restart or update my Java but the things is i updated java yesterday and i made a batch file but that didnt even work .....PLEASE PLEASE PLEASE help i will love you 4ever if someone helps.... thanks ;)
 

Alexducky

Survivor
Joined
Jun 9, 2012
Messages
130
Reaction score
35
Someone had exactly the same problem.

This is because of the lack of ram that is allocated to your minecraft. Here is how to fix it:


Allocating More Memory To Java

Step 1.
Open CONTROL PANEL.

Step 2.
Type 'Java' inside the 'Search Control Panel' box.

Step 3.
Click the Java icon that pops up.

Step 4.
Click the Java tab.

Step 5.
Click View...

Step 6.
Assure there is only ONE line in here, any more lines could cause issues.
If you have multiple lines uninstall all versions of Java from your system and...
...download Java JDK 7 from the following link.
Make sure to get the x64 version if you have a 64-bit OS.
http://jdk7.java.net/download.html

Step 7.
Change Runtime Parameters.
I have mine set to:
-Xincgc -Xmx2048M

Change it depending on how much RAM you have.
For 32-bit Operating Systems 768M is recommended.
If you have 64-bit, or that doesn't work, continue to try the following
1G
1536M
2G
As I said, this varies depending on how much System RAM you have.

Step 8.
Click OK.
 

Batuhan

Spectator
Joined
May 18, 2012
Messages
9
Reaction score
0
Ive got a 32 bit do i still do what you said or is there another why for 32 bit comps
 

Alexducky

Survivor
Joined
Jun 9, 2012
Messages
130
Reaction score
35
For 32-bit Operating Systems 768M is recommended.
Only part that is different
 

Batuhan

Spectator
Joined
May 18, 2012
Messages
9
Reaction score
0
also what do you mean by lines? ive got these like 7 applications.....do i delete them?
 

Batuhan

Spectator
Joined
May 18, 2012
Messages
9
Reaction score
0
well i did what the guy said but i go back into the servers and 5 minutes in it does the same thing....i dont get what i did wrong....if have another way could you please tell me...thanks
 

Alexducky

Survivor
Joined
Jun 9, 2012
Messages
130
Reaction score
35
Can you try youtubing this? And your pc might not have enough ram to run minecraft which is pretty weird,
 

Batuhan

Spectator
Joined
May 18, 2012
Messages
9
Reaction score
0
yer it is....but how do i check how much ram i have? im not really good with computers... thanks
 
Status
Not open for further replies.

Members online

No members online now.

Forum statistics

Threads
242,193
Messages
2,449,633
Members
523,972
Latest member
Atasci