mojira.dev
MC-6169

crash due to running out of memory, already using batch file to limit to 512, system monitor showing javaw.exe keeps grabbing more memory until all is gone

Put the summary of the bug you're having here

What I expected to happen was...:
javaw.exe would not keep taking up more memory than allocated

What actually happened was...:
minecraft seems to keep grabbing more memory until my system runs out and then minecraft crashes
sometimes the hs_err file is created, I have attached the latest hs_err file in attachments

Steps to Reproduce:
1. Every time I start up minecraft and after I choose a world or multiplayer server, it starts to grab more memory
2. This does not happen on my two other machines running Vista and XP Professional

Attachments

Comments 12

It's not an out-of-memory-issue.
The crash occurs somewhere graphics related:

Stack: [0x4ccc0000,0x4cd10000],  sp=0x4cd0f50c,  free space=317k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [KERNELBASE.dll+0xc6e3]
C  [ig4icd32.dll+0x781403]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.lwjgl.opengl.GL11.nglDeleteLists(IIJ)V+0
j  org.lwjgl.opengl.GL11.glDeleteLists(II)V+16
j  arx.b(I)V+19
j  bav.f()V+4
j  net.minecraft.client.Minecraft.f()V+10

Please force a crash by pressing F3 + C for 10 seconds while ingame and attach the crash report here, there is more information in a Minecraft crash report.

these crashes have only started in the last few weeks on this machine. I suspect since 1.4.5 or 1.4.6 update

You should assign minimum memory to the JVM ( -Xms512m ), you have no minimum.

And get an update of your graphics drivers

i attached the crash report generated when running the batch file (pasted from the minecraft faq troubleshooting out of memory issues)
here is the content of that batch file

javaw -Xmx512m -Xms512m -jar minecraft.exe

I will also post a new forced crash report when I run it without the batch file

I did update the graphic drivers from the intel site before I posted this as an error
It is 9.17.10.2867 dated 26/09/2012

this crash only started recently, before this there was no issue with graphic card or opengl - has something changed here?

here is the crash report generated running the minecraft.exe from the desktop without the batch file

2 more comments

yes the crash from the launcher persists .....

thats why i went to the recommended batch file

when i let it crash, i cant find a crash report to post

I ran it with the batch file noted above and it continues to crash with an
"Out of Memory" error

I think this should be resolved as invalid due to the fact that minecraft is not meant to be run with so little memory.

it has been stable playing now for 20 minutes, in the past it didnt last beyond 2 minutes before the memory was taken

i also just checked running through launcher (and javaw.exe) and the memory grabbing seems to be stabilising and not crashing

not sure what has changed....!

not sure if my issue is fixed - or the problem is just hiding

anon ymus the original crashes were from running in the default launcher with no extra parameters

minecraft was crashing after it had taken over 1.3gb (based on what task manager was reporting)

the java dk was reporting much lower usage of memory by minecraft

Alex Green

(Unassigned)

Unconfirmed

crash

Minecraft 1.4.6

Retrieved