<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sat Jan 11 07:13:17 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>[BDS-209] Memory Leak</title>
                <link>https://bugs.mojang.com/browse/BDS-209</link>
                <project id="11700" key="BDS">Bedrock Dedicated Server</project>
                    <description>&lt;p&gt;RAM usage increased as players connect to the server which is normal. The RAM Doesn&apos;t drop free up after players disconnect. After 8 hours running, my RAM usage for my server is 277 MB. WHen the server is first started with no players, the usage is around 60MBs.&lt;/p&gt;</description>
                <environment>Windows 10 1.7.0</environment>
        <key id="217370">BDS-209</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="4">Incomplete</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="DahBizomb">Mark Ahlers</reporter>
                        <labels>
                            <label>awaiting-response</label>
                    </labels>
                <created>Tue, 30 Oct 2018 14:11:39 +0100</created>
                <updated>Fri, 29 Jan 2021 17:19:51 +0100</updated>
                            <resolved>Fri, 29 Jan 2021 17:19:51 +0100</resolved>
                                    <version>1.6.1.0</version>
                    <version>1.14.60</version>
                                                            <votes>4</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="907912" author="mega_spud" created="Fri, 29 Jan 2021 17:19:51 +0100"  >&lt;p&gt;Cleaning up old tickets:  This ticket had been set to &apos;Awaiting Response&apos;, but has not received a response from the reporter (~3 months+) so is being closed as &lt;em&gt;Incomplete&lt;/em&gt;.  If you feel this is still a valid issue then please comment, or create a new ticket following the &lt;a href=&quot;https://aka.ms/MCBugTrackerHelp&quot; title=&quot;How To Write helpful bug reports&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Issue Guidelines&lt;/a&gt; which includes steps to reproduce the problem.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Quick Links&lt;/b&gt;:&lt;br/&gt;
&#128211; &lt;a href=&quot;https://aka.ms/MCBugTrackerHelp&quot; title=&quot;How To Write Awesome Tickets! &#128175;&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Issue Guidelines&lt;/a&gt; &amp;#8211; &#128172; &lt;a href=&quot;https://help.minecraft.net/hc/en-us/requests/new&quot; title=&quot;Account Support &#128377;&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Mojang Support&lt;/a&gt; &amp;#8211; &#128231; &lt;a href=&quot;https://feedback.minecraft.net/&quot; title=&quot;Feedback and Suggestions &#9997;&#65039;&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Suggestions&lt;/a&gt; &amp;#8211; &#128214; &lt;a href=&quot;http://minecraft.gamepedia.com/Minecraft_Wiki&quot; title=&quot;Minecraft Wiki &#127891;&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Minecraft Wiki&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="782854" author="ionicecko" created="Sat, 8 Aug 2020 08:31:32 +0200"  >&lt;p&gt;I&apos;m going to temporarily close this one off as awaiting response. At the moment I&apos;ve not seen any evidence of a memory leak and until we&apos;re able to pinpoint reproduction steps there&apos;s very little we can escalate to Mojang.&lt;/p&gt;

&lt;p&gt;It would be expected that the server wouldn&apos;t always revert to the amount of memory it uses when its first started. Many entities etc remain cached for performance which increases passive memory usage. I run a bunch of servers and wouldn&apos;t consider the behaviour I&apos;m seeing from BDS unusual.&lt;/p&gt;

&lt;p&gt;Thats not to say there is no memory leak, just that, from what we have right now, there&apos;s nothing that can be escalated. If someone is able to find clear evidence and reproduction steps to demonstrate the issue please comment back and the report will reopen.&lt;/p&gt;
</comment>
                            <comment id="645677" author="ashermaximum@gmail.com" created="Wed, 11 Mar 2020 16:44:46 +0100"  >&lt;p&gt;I use Windows 10 Pro - I wanted to run it on Linux, but hit this bug: &lt;a href=&quot;https://bugs.mojang.com/browse/BDS-2574&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;BDS-2574&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;My machine is currently broken and being re-designed, but I&apos;ll see if I have an older backup somewhere. If not, I&apos;ll update when I have a working version to share.&lt;/p&gt;

&lt;p&gt;I was talking with a friend about this issue though and we were theorizing - maybe the server software is doing what it&apos;s supposed to, and just not releasing memory since there&apos;s plenty? I need to test in a VM and limit the ram to like 2GB and see what it does when it hits that - does it start using swap space, or does it release the memory it shouldn&apos;t need?&lt;/p&gt;</comment>
                            <comment id="642764" author="ionicecko" created="Wed, 4 Mar 2020 11:40:22 +0100"  >&lt;p&gt;Hi Asher,&lt;/p&gt;

&lt;p&gt;Out of curiosity what OS do you use?&lt;/p&gt;

&lt;p&gt;If you&apos;re able to I&apos;d love to try your smelting machine on my server to replicate. I run a server for a few people but have it regularly reboot and backup so don&apos;t see this issue. If you have a way to reliably reproduce it I would like to give it a try.&lt;/p&gt;

&lt;p&gt;Ionic&lt;/p&gt;

&lt;p&gt;Edit: It might also be worth double checking it in 1.14.32.1, a bunch of improvements appear to have been made that may affect this as well.&lt;/p&gt;</comment>
                            <comment id="636004" author="ashermaximum@gmail.com" created="Tue, 18 Feb 2020 19:46:42 +0100"  >&lt;p&gt;I&apos;ve taken a memory dump of the bedrock_server.exe process while it is using 4.5gb of memory. This is after turning my furnace machine off, and leaving the area to unload it, and logging out. No players were logged in while this was taken. I have one ticking area, but that is at 8000,8000 - nowhere near the area we play in. There are no plugins loaded on the server.&lt;br/&gt;
Server version is 1.14.30, running on Windows 10 Pro, on an Intel NUC with an i5 8259U and 32gb of memory.&lt;/p&gt;

&lt;p&gt;Zipped memory dump can be found here:&lt;br/&gt;
&lt;a href=&quot;https://drive.google.com/open?id=1xcmkvyNfsvDTe1Vqwvmnnwnf_q6j3p3F&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://drive.google.com/open?id=1xcmkvyNfsvDTe1Vqwvmnnwnf_q6j3p3F&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I can add a world download as well if the devs want it, but I don&apos;t think this issue is related to my world, as memory usage goes up even when my furnace machine isn&apos;t running, just not by as much. The size of my machine just makes the issue much more apparent than it normally is.&lt;/p&gt;</comment>
                            <comment id="636000" author="ashermaximum@gmail.com" created="Tue, 18 Feb 2020 19:19:33 +0100"  >&lt;p&gt;I&apos;m seeing a similar issue. I created a very large furnace array that burns bamboo to smoke kelp. In total the system has over 140 pistons and nearly 200 blocks of sand that fall, and it creates 900 smoked kelp per minute, which gets put into water. When the machine is on, server memory increases by 6mb per minute, and it is not released when the machine is shut off, even after unloading the area or logging out entirely. RAM usage increased to 4.2gb after 8 hours running the machine.&lt;/p&gt;

&lt;p&gt;Granted, this is with a massive machine, which is not typical, but looking at the memory usage of the process, I see it go up by a few KB every 10-20 seconds without the machine running, but I&apos;m not seeing it go down, even with no one logged on.&lt;/p&gt;

&lt;p&gt;(edit: To clarify, memory usage only goes up every 10-20 seconds while players are logged in. When players are not logged in, it does not increase, but it also does not decrease)&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="330059">BDS-5690</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10103">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="217350">BDS-205</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="188170" name="Capture.PNG" size="9938" author="DahBizomb" created="Tue, 30 Oct 2018 14:10:11 +0100"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                    <customfield id="customfield_11700" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_11100" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Linked</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0vkun:</customfieldvalue>

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