<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:00:15 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-2513] Ability to limit amount of resident memory that MongoDB can utilize</title>
                <link>https://jira.mongodb.org/browse/SERVER-2513</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Would like to see the ability to limit the maximum amount of memory that a MongoDB process can consume. This feature would allow MongoDB to run alongside other processes without fighting for memory space. Additionally it would allow for performance testing to be done to find the acceptable memory footprint for a given working dataset.&lt;/p&gt;</description>
                <environment></environment>
        <key id="14621">SERVER-2513</key>
            <summary>Ability to limit amount of resident memory that MongoDB can utilize</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="jsmestad">Justin Smestad</reporter>
                        <labels>
                    </labels>
                <created>Wed, 9 Feb 2011 22:04:41 +0000</created>
                <updated>Wed, 13 Aug 2014 00:48:54 +0000</updated>
                            <resolved>Thu, 10 Feb 2011 04:32:18 +0000</resolved>
                                                                                        <votes>5</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="681585" author="justanyone" created="Tue, 5 Aug 2014 12:45:38 +0000"  >&lt;p&gt;This line of questions presumes a server dedicated to Mongo.  Not all instances of Mongo are on dedicated servers (VMs or real iron).  It&apos;s reasonable to have other things running on server, either applications or multiple mongod instances.  It would be nice to be able to have MongoDB limit its own RSS memory usage.&lt;/p&gt;

&lt;p&gt;Barring that, a documentation workaround for implementing Linux &apos;Control Groups&apos; with this would be nice.&lt;/p&gt;</comment>
                            <comment id="26287" author="eliot" created="Sat, 19 Mar 2011 01:27:23 +0000"  >&lt;p&gt;@jiwei i think you&apos;re misunderstanding.  the os will determine how much of the physical memory mongo is allocated.  in the cloud this works particularly well since you general spin up many correctly sized instances.  so if you need 1gb ram for mongo, and 100gb of disk, you spin up a node like that, and give it to mongo&lt;/p&gt;</comment>
                            <comment id="26278" author="jsmestad" created="Fri, 18 Mar 2011 23:45:04 +0000"  >&lt;p&gt;Yeah we can just close out the ticket.&lt;/p&gt;</comment>
                            <comment id="26272" author="jwu" created="Fri, 18 Mar 2011 22:42:01 +0000"  >&lt;p&gt;This is a deal breaker to us.&lt;br/&gt;
You can not require user to limit data size to excuse you can not limit max memory  usage. &lt;br/&gt;
If we just want mongod consume maximum 256M memory,  mongodb still needs be able to serve  2G data there. This is basic db software should do. Expecially for today cloud&apos;s environment, we want each VM only take 500M-1G memory, you are just one software we are evaluating and can not take all memory in a VM instance.&lt;br/&gt;
Unless I miss something here .&lt;/p&gt;</comment>
                            <comment id="23548" author="eliot" created="Thu, 10 Feb 2011 06:42:05 +0000"  >&lt;p&gt;@justin, that is exactly limiting the resident memory used by mongod, which is exactly what the linked case is about&lt;/p&gt;</comment>
                            <comment id="23547" author="scotthernandez" created="Thu, 10 Feb 2011 06:40:59 +0000"  >&lt;p&gt;How do you expect this to work? The OS manages memory for memory mapped files. Are you going to limit the data, and therefor file sizes, the user can create for each of the mongod instances?&lt;/p&gt;</comment>
                            <comment id="23546" author="jsmestad" created="Thu, 10 Feb 2011 06:32:28 +0000"  >&lt;p&gt;I&apos;m looking for the ability to say that I have a 12GB server, and then 6 MongoDB daemons should use no more than 1GB of memory each. Leaving me with 6GB of RAM untouched.&lt;/p&gt;</comment>
                            <comment id="23545" author="eliot" created="Thu, 10 Feb 2011 06:29:59 +0000"  >&lt;p&gt;The title says resident memory.&lt;/p&gt;

&lt;p&gt;Which do you mean?&lt;/p&gt;

&lt;p&gt;To be clear, if you limit virtual memory, then you&apos;re limiting data size.&lt;/p&gt;

&lt;p&gt;So that would be a max data size option.&lt;br/&gt;
You can easily simulate that with a mounted image.&lt;/p&gt;</comment>
                            <comment id="23544" author="jsmestad" created="Thu, 10 Feb 2011 06:27:13 +0000"  >&lt;p&gt;This was requesting a way to limit the amount of virtual memory MongoDB can use so you can build contained Mongo daemons that can leave free memory space.&lt;/p&gt;</comment>
                            <comment id="23522" author="eliot" created="Thu, 10 Feb 2011 04:32:18 +0000"  >&lt;p&gt;See &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-219&quot; title=&quot;Ability to configure max memory&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-219&quot;&gt;&lt;del&gt;SERVER-219&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="150706">SERVER-14777</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="152313">DOCS-3898</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>10.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 10 Feb 2011 04:32:18 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        9 years, 28 weeks, 1 day 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>
                            9 years, 28 weeks, 1 day 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_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>jwu</customfieldvalue>
            <customfieldvalue>jsmestad</customfieldvalue>
            <customfieldvalue>justanyone</customfieldvalue>
            <customfieldvalue>scotthernandez</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrp6nr:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>20749</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|ht0gef:</customfieldvalue>

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