<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:05:02 UTC 2024

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>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-4127] appears to be a memoryleak in mongodump</title>
                <link>https://jira.mongodb.org/browse/SERVER-4127</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Database contains a simple collection containing only three fields: the normal bson id, a 10-character unique identifier (indexed), and a text field that typically holds a ~10k string (raw xml)&lt;/li&gt;
	&lt;li&gt;This collection has ~350k records, reporting a total 3.6GB size&lt;/li&gt;
	&lt;li&gt;Dumping this collection with mongodump, using &quot;mongodump -d mydatabase -c mycollection -o destination&quot; causes memory to rapidly grow by ~4GB during the dump, and is never released.&lt;/li&gt;
	&lt;li&gt;The same behavior is observed on both mac and windows environments&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Let me know what additional details I can provide that might be helpful.&lt;/p&gt;</description>
                <environment>observed under both mac os x and windows</environment>
        <key id="23960">SERVER-4127</key>
            <summary>appears to be a memoryleak in mongodump</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="4">Incomplete</resolution>
                                        <assignee username="brandon">Brandon Diamond</assignee>
                                    <reporter username="davemitchell">Dave Mitchell</reporter>
                        <labels>
                            <label>leak</label>
                            <label>mongodump</label>
                    </labels>
                <created>Sun, 23 Oct 2011 16:49:17 +0000</created>
                <updated>Tue, 29 May 2012 14:53:17 +0000</updated>
                            <resolved>Thu, 3 Nov 2011 15:43:56 +0000</resolved>
                                    <version>2.0.1</version>
                                                    <component>Tools</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="94700" author="brandon" created="Fri, 2 Mar 2012 17:55:59 +0000"  >&lt;p&gt;Abhi, thanks for bringing that to our attention. Can you please open a new ticket describing your issue?&lt;/p&gt;</comment>
                            <comment id="94370" author="apratap" created="Thu, 1 Mar 2012 22:29:50 +0000"  >&lt;p&gt;Any progress on this...I am experiencing similar issues. I loaded about 200 million records in the db. before loading the server running had 25 Gb for free RAM. I have now killed the MongoDB and still see memory being used.&lt;/p&gt;


&lt;p&gt;-Abhi&lt;/p&gt;</comment>
                            <comment id="63993" author="brandon" created="Tue, 1 Nov 2011 16:47:19 +0000"  >&lt;p&gt;Haven&apos;t heard anything for awhile. Has anything changed? Otherwise, we&apos;ll close out this ticket tonight.&lt;/p&gt;</comment>
                            <comment id="62482" author="brandon" created="Tue, 25 Oct 2011 13:57:49 +0000"  >&lt;p&gt;Very odd &amp;#8211; let&apos;s take a look. Any chance you&apos;re in (or can add) MMS? This would help us troubleshoot the issue tremendously.&lt;/p&gt;</comment>
                            <comment id="62481" author="eliot" created="Tue, 25 Oct 2011 13:49:33 +0000"  >&lt;p&gt;Are you looking at resident or virtual?&lt;/p&gt;</comment>
                            <comment id="62478" author="davemitchell" created="Tue, 25 Oct 2011 13:34:53 +0000"  >&lt;p&gt;It&apos;s now looking more like an issue in the mongo core, rather than the tools &amp;#8211; if I simply loop over all the items in the collection, I see the same issue--memory grows dramatically in the mongodb process, and is not freed.  Could this really be?  Sounds pretty serious, if it&apos;s not just me or my environment.  Am running production release of 2.0.1 on both osx and win64.&lt;/p&gt;</comment>
                            <comment id="62385" author="davemitchell" created="Mon, 24 Oct 2011 23:21:17 +0000"  >&lt;p&gt;The mongorestore leaks as well.  I can watch the memory rise as I restore the collection (using mongorestore --drop -d mydatabase -c mycollection location).  Clearly a 1:1 &amp;#8211; importing a 6gb collection means the memory allocated to the mongo server goes up by rougly 6gb, and is not released ontil I manually start and stop the service.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 25 Oct 2011 13:49:33 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 50 weeks, 5 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ian@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            11 years, 50 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>apratap</customfieldvalue>
            <customfieldvalue>brandon</customfieldvalue>
            <customfieldvalue>davemitchell</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hriin3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrg3m7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7488</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hri667:</customfieldvalue>

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