[MC-5352] Minecraft has crashed - ran out of memory Created: 25/Dec/12  Updated: 05/May/15  Resolved: 22/Feb/13

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.6
Fix Version/s: None

Type: Bug
Reporter: Wilson Wampers Assignee: Unassigned
Resolution: Invalid Votes: 1
Labels: crash
Environment:

Operating System: Windows XP (x86) version 5.1 SP3
Java Version: 1.6.0_29 / 1.7 U10, Sun Microsystems Inc.


Attachments: Text File crash-2012-12-25_19.16.41-server.txt     Text File crash-2012-12-25_19.44.43-server.txt     Text File mincraft_crash_121215.2005.txt    
CHK:
Confirmation Status: Unconfirmed
Game Mode: Survival

 Description   

Initially the game crashed 2 times.
I have tried to create a minecraft.bat file with the following:
javaw -Xmx512m -Xms512m -jar minecraft.exe -> as found in one of the blogs, but then the program still runs out of memory.
I've attached 3 files. the first 2 are generated crash reports, the third one is copied and saved from the screen report.



 Comments   
Comment by Kumasasa [ 22/Feb/13 ]

Finally resolved, since no new crash reports.

Comment by Tails [ 20/Feb/13 ]

@Kude k: please attach the newest crash report.

Comment by Kumasasa [ 31/Dec/12 ]

Ok, thanks.
Still leaving this ticket open for Kude k

Comment by Wilson Wampers [ 31/Dec/12 ]

Hi Kumasasa,

We're not using Windows XP SP3 anymore, and hence don't have the problem.

Kind regards,

Wilson Wampers

Comment by Kumasasa [ 31/Dec/12 ]

Kude k , Wilson Wampers: Please attach a crash report of Minecraft crashing when allocating more than 1GB to the JVM

Comment by Kude k [ 26/Dec/12 ]

I have the same problem. It has happened for a couple of versions now. Similar bug reports have been thrown away as duplicates of another bug involving the end which had nothing to do with that report. I tried changing the amount of memory for java, but the amount allocated to minecraft stays the same, at a little under 500 mb.

Comment by [Bot] Spam Golem [ 26/Dec/12 ]

Based on a crash report provided in this issue, I believe with high certainty that this report may be a duplicate of MC-4670. If I am wrong, please go yell at Dinnerbone.

Comment by Kumasasa [ 26/Dec/12 ]

There is no 64bit version of Minecraft - it's written in Java, that's independent of the CPU.

Comment by Wilson Wampers [ 26/Dec/12 ]

Yes it occurs with all worlds.
We've now moved on to Windows 7 Ultimate 64 bit though, and there minecraft runs stable (so far).
The problem occurred on Windows XP SP3 (32 bit).

Should I now download a 64 bit version? If so what link?

Thanks

Comment by Kumasasa [ 26/Dec/12 ]

Does this occur with all worlds you're playing or only with the "Tutorial World" ?
If so, please attach that world here.

Comment by Wilson Wampers [ 26/Dec/12 ]

Hi,
I've upgraded to Java 7U10.
The command prompt:
-------------------------------------------------------------------
java -Xmx2G -Xms512M -cp Minecraft.exe net.minecraft.LauncherFrame
-------------------------------------------------------------------
doesn't run however.
Running minecraft.exe still amounts to out of memory, but it doesn't crash any more, instead it displays the message that it was running out of memory and stopped the program to allow changes to be made.(Something like that).
Please advise ...

Comment by Kumasasa [ 25/Dec/12 ]

When you start it with -Xmx512m , you assign even less memory than the default 1024M.

Start it with

java -Xmx2G -Xms512M -cp Minecraft.exe net.minecraft.LauncherFrame 

BTW: Your Java is way outdated (Java 6U27), you should update to the latest version (Java 7U10), go to http://java.com for an update.

Generated at Sun Jan 12 12:07:37 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.