<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:10:19 UTC 2025

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Mojang Studios Jira</title>
    <link>https://bugs.mojang.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en</language>    <build-info>
        <version>9.12.2</version>
        <build-number>9120002</build-number>
        <build-date>10-01-2024</build-date>
    </build-info>


<item>
            <title>[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</title>
                <link>https://bugs.mojang.com/browse/MC-6169</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;Put the summary of the bug you&apos;re having here&lt;/p&gt;

&lt;p&gt;&lt;b&gt;What I expected to happen was...:&lt;/b&gt;&lt;br/&gt;
javaw.exe would not keep taking up more memory than allocated&lt;/p&gt;

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

&lt;p&gt;&lt;b&gt;Steps to Reproduce:&lt;/b&gt;&lt;br/&gt;
1. Every time I start up minecraft and after I choose a world or multiplayer server, it starts to grab more memory&lt;br/&gt;
2. This does not happen on my two other machines running Vista and XP Professional&lt;/p&gt;</description>
                <environment>Windows 7, Professional, 32 bit&lt;br/&gt;
Java JRE version: 7.0_10-b18 (but I was running older version when crash first happened, so I upgraded to this in case it fixed it)&lt;br/&gt;
&lt;br/&gt;
HP Desktop&lt;br/&gt;
4GB Ram, i5 Intel processor&lt;br/&gt;
&lt;br/&gt;
this is the machine i run the server on, and have a fixed local address to port forward to</environment>
        <key id="18831">MC-6169</key>
            <summary>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</summary>
                <type id="1" iconUrl="https://bugs.mojang.com/secure/viewavatar?size=xsmall&amp;avatarId=18903&amp;avatarType=issuetype">Bug</type>
                                    <status id="5" iconUrl="https://bugs.mojang.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="7">Invalid</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="alex_theblock">Alex Green</reporter>
                        <labels>
                            <label>crash</label>
                    </labels>
                <created>Sat, 5 Jan 2013 04:33:27 +0100</created>
                <updated>Sat, 16 Feb 2013 09:36:14 +0100</updated>
                            <resolved>Sat, 16 Feb 2013 09:36:14 +0100</resolved>
                                    <version>Minecraft 1.4.6</version>
                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="33863" author="alex_theblock" created="Mon, 7 Jan 2013 01:37:00 +0100"  >&lt;p&gt;anon ymus the original crashes were from running in the default launcher with no extra parameters &lt;/p&gt;

&lt;p&gt;minecraft was crashing after it had taken over 1.3gb (based on what task manager was reporting)&lt;/p&gt;

&lt;p&gt;the java dk was reporting much lower usage of memory by minecraft&lt;/p&gt;</comment>
                            <comment id="33862" author="alex_theblock" created="Mon, 7 Jan 2013 01:34:15 +0100"  >&lt;p&gt;it has been stable playing now for 20 minutes, in the past it didnt last beyond 2 minutes before the memory was taken&lt;/p&gt;

&lt;p&gt;i also just checked running through launcher (and javaw.exe) and the memory grabbing seems to be stabilising and not crashing&lt;/p&gt;

&lt;p&gt;not sure what has changed....!&lt;/p&gt;

&lt;p&gt;not sure if my issue is fixed - or the problem is just hiding&lt;/p&gt;

</comment>
                            <comment id="33856" author="banana478" created="Mon, 7 Jan 2013 01:22:20 +0100"  >&lt;p&gt;I think this should be resolved as invalid due to the fact that minecraft is not meant to be run with so little memory.&lt;/p&gt;</comment>
                            <comment id="33846" author="alex_theblock" created="Mon, 7 Jan 2013 00:58:57 +0100"  >&lt;p&gt;I ran it with the batch file noted above and it continues to crash with an &lt;br/&gt;
&quot;Out of Memory&quot; error&lt;/p&gt;</comment>
                            <comment id="33841" author="alex_theblock" created="Mon, 7 Jan 2013 00:52:18 +0100"  >&lt;p&gt;yes the crash from the launcher persists ..... &lt;/p&gt;

&lt;p&gt;thats why i went to the recommended batch file&lt;/p&gt;

&lt;p&gt;when i let it crash, i cant find a crash report to post&lt;/p&gt;
</comment>
                            <comment id="33837" author="kumasasa" created="Mon, 7 Jan 2013 00:46:19 +0100"  >&lt;p&gt;Ok, does the original issue still persist ?&lt;/p&gt;</comment>
                            <comment id="33836" author="kumasasa" created="Mon, 7 Jan 2013 00:43:12 +0100"  >&lt;p&gt;Now you&apos;ve limited the maximum memory to 512M too.&lt;br/&gt;
use:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;java -Xmx1g -Xms512M -cp Minecraft.exe net.minecraft.LauncherFrame 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Why don&apos;t you simply use the default launcher ?&lt;/p&gt;</comment>
                            <comment id="33835" author="alex_theblock" created="Mon, 7 Jan 2013 00:42:37 +0100"  >&lt;p&gt;here is the crash report generated running the minecraft.exe from the desktop without the batch file&lt;/p&gt;</comment>
                            <comment id="33834" author="alex_theblock" created="Mon, 7 Jan 2013 00:39:46 +0100"  >&lt;p&gt;i attached the crash report generated when running the batch file (pasted from the minecraft faq troubleshooting out of memory issues)&lt;br/&gt;
here is the content of that batch file&lt;/p&gt;

&lt;p&gt;javaw -Xmx512m -Xms512m -jar minecraft.exe&lt;/p&gt;

&lt;p&gt;I will also post a new forced crash report when I run it without the batch file&lt;/p&gt;

&lt;p&gt;I did update the graphic drivers from the intel site before I posted this as an error&lt;br/&gt;
It is 9.17.10.2867 dated 26/09/2012&lt;/p&gt;

&lt;p&gt;this crash only started recently, before this there was no issue with graphic card or opengl - has something changed here?&lt;/p&gt;</comment>
                            <comment id="33583" author="kumasasa" created="Sun, 6 Jan 2013 12:49:31 +0100"  >&lt;p&gt;You should assign minimum memory to the JVM ( -Xms512m ), you have &lt;b&gt;no&lt;/b&gt; minimum.&lt;/p&gt;

&lt;p&gt;And get an update of your graphics drivers&lt;/p&gt;</comment>
                            <comment id="33578" author="alex_theblock" created="Sun, 6 Jan 2013 12:24:55 +0100"  >&lt;p&gt;these crashes have only started in the last few weeks on this machine. I suspect since 1.4.5 or 1.4.6 update&lt;/p&gt;</comment>
                            <comment id="33119" author="kumasasa" created="Sat, 5 Jan 2013 08:50:25 +0100"  >&lt;p&gt;It&apos;s not an out-of-memory-issue.&lt;br/&gt;
The crash occurs somewhere graphics related:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;Stack: [0x4ccc0000,0x4cd10000],  sp=0x4cd0f50c,  free space=317k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=&lt;span class=&quot;code-keyword&quot;&gt;native&lt;/span&gt; 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
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;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.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="17375" name="crash-2013-01-06_22.22.29-client.txt" size="5250" author="alex_theblock" created="Sun, 6 Jan 2013 12:24:55 +0100"/>
                            <attachment id="17467" name="crash-2013-01-07_10.41.12-client.txt" size="5019" author="alex_theblock" created="Mon, 7 Jan 2013 00:42:37 +0100"/>
                            <attachment id="17083" name="hs_err_pid4416.log" size="24116" author="alex_theblock" created="Sat, 5 Jan 2013 04:33:27 +0100"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Unconfirmed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_11700" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02sif:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>