<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 07:58:24 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>[DOCS-9454] Docs for SERVER-25318: Limit total memory utilization for bulk index builds</title>
                <link>https://jira.mongodb.org/browse/DOCS-9454</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;Engineering Ticket Description:&lt;/p&gt;

&lt;p&gt;A bulk index build of multiple indexes on a collection, for example using createIndexes, or during an initial sync, will use up to 100 MB of memory per index, or up to 6400 MB of memory total (given the limit of 64 indexes per collection).  This can lead to out-of-memory on smaller machines. We should limit the total memory used on smaller machines by reducing the amount of memory used per index build, and/or limiting the number of simultaneous index builds.&lt;/p&gt;</description>
                <environment></environment>
        <key id="335965">DOCS-9454</key>
            <summary>Docs for SERVER-25318: Limit total memory utilization for bulk index builds</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="9">Done</resolution>
                                        <assignee username="steve.renaker@mongodb.com">Steve Renaker</assignee>
                                    <reporter username="emily.hall">Emily Hall</reporter>
                        <labels>
                    </labels>
                <created>Fri, 2 Dec 2016 18:18:50 +0000</created>
                <updated>Tue, 11 Sep 2018 21:27:34 +0000</updated>
                            <resolved>Wed, 25 Oct 2017 17:49:59 +0000</resolved>
                                    <version>3.4.0</version>
                                    <fixVersion>3.4.0</fixVersion>
                                    <component>manual</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="1709163" author="xgen-internal-githook" created="Wed, 25 Oct 2017 19:29:18 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;steve.renaker@mongodb.com&apos;, &apos;name&apos;: &apos;Steve Renaker&apos;, &apos;username&apos;: &apos;steveren&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-9454&quot; title=&quot;Docs for SERVER-25318: Limit total memory utilization for bulk index builds&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-9454&quot;&gt;&lt;del&gt;DOCS-9454&lt;/del&gt;&lt;/a&gt;: Limit total memory utilization for bulk index builds&lt;br/&gt;
Branch: v3.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/afe04a6ec609697b56d5b179dd16d71dca9d7c99&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/afe04a6ec609697b56d5b179dd16d71dca9d7c99&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1709161" author="xgen-internal-githook" created="Wed, 25 Oct 2017 19:29:02 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;steve.renaker@mongodb.com&apos;, &apos;name&apos;: &apos;Steve Renaker&apos;, &apos;username&apos;: &apos;steveren&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-9454&quot; title=&quot;Docs for SERVER-25318: Limit total memory utilization for bulk index builds&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-9454&quot;&gt;&lt;del&gt;DOCS-9454&lt;/del&gt;&lt;/a&gt;: Limit total memory utilization for bulk index builds&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/c1628470c94a02d8344baebc4e75fb126c1e80f9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/c1628470c94a02d8344baebc4e75fb126c1e80f9&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1704353" author="milkie" created="Thu, 19 Oct 2017 22:30:14 +0000"  >&lt;p&gt;Yes please! That sounds good to me.&lt;/p&gt;</comment>
                            <comment id="1704050" author="steve.renaker" created="Thu, 19 Oct 2017 18:45:33 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=milkie&quot; class=&quot;user-hover&quot; rel=&quot;milkie&quot;&gt;milkie&lt;/a&gt; The parameter maxIndexBuildMemoryUsageMegabytes isn&apos;t listed on the server parameters docs page, and there&apos;s no ticket to add it. I&apos;ll add it there as part of this ticket unless anyone objects.&lt;/p&gt;</comment>
                            <comment id="1703216" author="milkie" created="Wed, 18 Oct 2017 21:34:51 +0000"  >&lt;p&gt;We&apos;re starting to get more questions about this one, so it would be good to put this somewhere.  We should definitely put this in the Limits and Thresholds page, and probably also on this page: &lt;a href=&quot;https://docs.mongodb.com/manual/core/index-creation/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/manual/core/index-creation/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1490998" author="dan@10gen.com" created="Thu, 2 Feb 2017 16:33:43 +0000"  >&lt;p&gt;This was backported to 3.2.13&lt;br/&gt;
I&apos;m not sure where exactly this should be documented...&lt;/p&gt;

&lt;p&gt;This is the relevant documentation information from &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-25318&quot; title=&quot;Limit total memory utilization for bulk index builds&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-25318&quot;&gt;&lt;del&gt;SERVER-25318&lt;/del&gt;&lt;/a&gt;:&lt;br/&gt;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;br/&gt;
New server parameter: &lt;tt&gt;maxIndexBuildMemoryUsageMegabytes&lt;/tt&gt;&lt;br/&gt;
Default value: 500&lt;br/&gt;
Previously, the limit was 100MB per index, so if there were 64 indexes being built, it could use 64 * 100MB.  Leaving the limit higher may result in faster index builds.&lt;/p&gt;

&lt;p&gt;Note that this limits the amount of memory that simultaneous foreground index builds for one collection will temporarily consume. In 3.4, initial sync clones one collection at a time, so no initial sync index build phase should consume more memory than the limit.&lt;br/&gt;
However, if a user initiates foreground index builds for collections in multiple databases at the same time, each databases&apos; index builds will consume up to the memory limit, per database. (It is not possible to build indexes in the foreground on multiple collections within the same database simultaneously.)&lt;/p&gt;
&lt;blockquote&gt;&lt;/blockquote&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                            <outwardlinks description="documents">
                                        <issuelink>
            <issuekey id="304734">SERVER-25318</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="502702">DOCS-11355</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 2 Feb 2017 16:33:43 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        6 years, 16 weeks 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>jess.mokrzecki@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            6 years, 16 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>dan@mongodb.com</customfieldvalue>
            <customfieldvalue>emily.hall</customfieldvalue>
            <customfieldvalue>milkie@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>steve.renaker@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrmbe7:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1324">KANBAN BUCKET</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrzgfz:</customfieldvalue>

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