<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:23:45 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-10249] Memory leak </title>
                <link>https://bugs.mojang.com/browse/MC-10249</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;I&apos;ve noticed the last two days that the minecraft server uses a lot of memory. I tested this by fully rebooting my server. After 5 hours of uptime with 10 players online, I encountered serious issues:&lt;br/&gt;
&lt;a href=&quot;http://i4.minus.com/iyHGeTgrmQRQ3.png&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://i4.minus.com/iyHGeTgrmQRQ3.png&lt;/a&gt;&lt;br/&gt;
after stopping the minecraft server, this happens:&lt;br/&gt;
&lt;a href=&quot;http://i6.minus.com/ibjEuNlb8u9AG6.png&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://i6.minus.com/ibjEuNlb8u9AG6.png&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Note that when the first screenshot was taken (with more than 80% mem usage) the minecraft server was totally empty, 0 players online.&lt;/p&gt;

&lt;p&gt;I don&apos;t know if this is a known issue, if it&apos;s a java problem or minecraft related.&lt;/p&gt;</description>
                <environment>Ubuntu server 12.04 LTS&lt;br/&gt;
openjdk-7-jre</environment>
        <key id="24141">MC-10249</key>
            <summary>Memory leak </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="zipron">Zipron Brendt</reporter>
                        <labels>
                            <label>leak</label>
                            <label>memory</label>
                    </labels>
                <created>Sun, 24 Feb 2013 21:10:17 +0100</created>
                <updated>Sun, 24 Feb 2013 22:24:50 +0100</updated>
                            <resolved>Sun, 24 Feb 2013 21:24:55 +0100</resolved>
                                    <version>Snapshot 13w07a</version>
                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="47467" author="kumasasa" created="Sun, 24 Feb 2013 22:24:50 +0100"  >&lt;p&gt;Absolute true after 1 minute run time. Garbage collection didn&apos;t start yet...&lt;/p&gt;</comment>
                            <comment id="47466" author="zipron" created="Sun, 24 Feb 2013 22:20:32 +0100"  >&lt;p&gt;not true. htop shows me the amount of RAM actually used, check this screnshot:&lt;br/&gt;
&lt;a href=&quot;http://i5.minus.com/iY47CO4rZKUNX.png&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://i5.minus.com/iY47CO4rZKUNX.png&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;this is 2gigs allocated, only 700megs used.&lt;/p&gt;</comment>
                            <comment id="47459" author="kumasasa" created="Sun, 24 Feb 2013 21:24:55 +0100"  >&lt;p&gt;What you are seeing is the memory allocated to the JVM and not the memory used my minecraft. Since you&apos;ve started the JVM with &lt;em&gt;-Xmx2G -Xms2G&lt;/em&gt;, the result is absolutely expectable.&lt;/p&gt;

&lt;p&gt;Help on debugging here &lt;a href=&quot;http://www.oracle.com/technetwork/java/javase/memorymanagement-whitepaper-150215.pdf&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.oracle.com/technetwork/java/javase/memorymanagement-whitepaper-150215.pdf&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="47458" author="zipron" created="Sun, 24 Feb 2013 21:11:23 +0100"  >&lt;p&gt;Just to avoid confusion: the user I run my server with is called bukkit, but this was the mojang 13w07a snapshot server used.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </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|i06rtj:</customfieldvalue>

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