<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 11:54:59 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-1599] File Handle leak in RegionFileCache (MCP)</title>
                <link>https://bugs.mojang.com/browse/MC-1599</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;File handles can leak if the soft references in RegionFileCache(MCP) are garbage collected. This can lead to a slow decrease in performance and ultimately IO problems because file handles run out.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/cpw/FML/commit/6edce8b5f4d522f58421da4e00735cb6493103e6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/cpw/FML/commit/6edce8b5f4d522f58421da4e00735cb6493103e6&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I fixed it by removing the soft reference. The other approach is to apply a finalizer, but that&apos;s considered bad form. Better to always control this manually.&lt;/p&gt;

&lt;p&gt;FYI the leak is the RandomAccessFile inside the RegionFile itself- note that there is no &quot;finalizer cleanup&quot; on RandomAccessFile.&lt;/p&gt;</description>
                <environment></environment>
        <key id="12943">MC-1599</key>
            <summary>File Handle leak in RegionFileCache (MCP)</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="1">Fixed</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="cpw">cpw</reporter>
                        <labels>
                    </labels>
                <created>Thu, 1 Nov 2012 14:32:08 +0100</created>
                <updated>Tue, 19 Feb 2013 22:09:09 +0100</updated>
                            <resolved>Tue, 19 Feb 2013 22:09:09 +0100</resolved>
                                    <version>Minecraft 1.4.2</version>
                                    <fixVersion>Minecraft 1.4.6</fixVersion>
                                                        <votes>3</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="46626" author="bljat" created="Tue, 19 Feb 2013 22:08:27 +0100"  >&lt;p&gt;Thanks for verifying.&lt;/p&gt;</comment>
                            <comment id="46625" author="bugi74" created="Tue, 19 Feb 2013 22:06:38 +0100"  >&lt;p&gt;Just for the detail, the soft references are no longer used in the source of version 1.4.7. That is, this issue has been &apos;fixed&apos;. No idea in which version.&lt;/p&gt;</comment>
                            <comment id="46617" author="bljat" created="Tue, 19 Feb 2013 21:39:02 +0100"  >&lt;p&gt;No answer on querry, assuming not an issue anymore.&lt;/p&gt;</comment>
                            <comment id="43610" author="bljat" created="Tue, 5 Feb 2013 01:37:04 +0100"  >&lt;p&gt;Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.&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|i00x7z:</customfieldvalue>

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