<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:09:33 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-5663] Private pages accumulate in Windows RAM and page file when journaling</title>
                <link>https://jira.mongodb.org/browse/SERVER-5663</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The remapPrivateView() routine in Windows in version 2.0.x, used when journaling is enabled, uses VirtualProtect() to try to restore CopyOnWrite pages to their original condition.  This doesn&apos;t accomplish its goal and instead causes private pages to accumulate, consuming page file space.  remapPrivateView() needs to unmap and remap the private view to prevent this accumulation.&lt;/p&gt;

&lt;p&gt;This ticket summarizes the visible symptoms and the fix for those symptoms.  Making this change reintroduces &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2942&quot; title=&quot;MapViewOfFileEx failed during large import&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2942&quot;&gt;&lt;del&gt;SERVER-2942&lt;/del&gt;&lt;/a&gt; until the unmapping and remapping can be made completely reliable.&lt;/p&gt;</description>
                <environment>Windows</environment>
        <key id="36782">SERVER-5663</key>
            <summary>Private pages accumulate in Windows RAM and page file when journaling</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="9">Done</resolution>
                                        <assignee username="tad">Tad Marshall</assignee>
                                    <reporter username="tad">Tad Marshall</reporter>
                        <labels>
                            <label>Windows</label>
                    </labels>
                <created>Fri, 20 Apr 2012 14:25:00 +0000</created>
                <updated>Mon, 11 Jul 2016 18:34:24 +0000</updated>
                            <resolved>Fri, 20 Apr 2012 14:26:24 +0000</resolved>
                                    <version>2.0.4</version>
                                    <fixVersion>2.0.7</fixVersion>
                    <fixVersion>2.1.1</fixVersion>
                                    <component>Performance</component>
                    <component>Stability</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="135328" author="tad" created="Thu, 21 Jun 2012 14:52:34 +0000"  >&lt;p&gt;Backported to 2.0.7.&lt;/p&gt;</comment>
                            <comment id="135325" author="auto" created="Thu, 21 Jun 2012 14:49:17 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-06-20T14:47:51-07:00&apos;, u&apos;email&apos;: u&apos;tad@10gen.com&apos;, u&apos;name&apos;: u&apos;Tad Marshall&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5663&quot; title=&quot;Private pages accumulate in Windows RAM and page file when journaling&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5663&quot;&gt;&lt;del&gt;SERVER-5663&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2942&quot; title=&quot;MapViewOfFileEx failed during large import&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2942&quot;&gt;&lt;del&gt;SERVER-2942&lt;/del&gt;&lt;/a&gt; MapViewOfFileEx backport&lt;/p&gt;

&lt;p&gt;Backport the fixes for Windows memory-mapped files made in&lt;br/&gt;
2.1.x into the 2.0.x branch.  Stop using VirtualProtect in&lt;br/&gt;
remapPrivateView, use UnmapViewOfFile and MapViewOfFileEx&lt;br/&gt;
to refresh the private view of the memory-mapped file.&lt;br/&gt;
Place memory-mapped files at a high address in 64-bit to&lt;br/&gt;
get out of the way of allocations made by Windows.&lt;br/&gt;
Branch: v2.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/881d6229e1ab58695959862a76f3175e142af84e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/881d6229e1ab58695959862a76f3175e142af84e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="134680" author="tad" created="Wed, 20 Jun 2012 10:38:58 +0000"  >&lt;p&gt;Requesting backport ... should have been requested when backport for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2942&quot; title=&quot;MapViewOfFileEx failed during large import&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2942&quot;&gt;&lt;del&gt;SERVER-2942&lt;/del&gt;&lt;/a&gt; was requested.&lt;/p&gt;</comment>
                            <comment id="113787" author="auto" created="Wed, 25 Apr 2012 21:25:36 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@10gen.com&apos;}
&lt;p&gt;Message: LockMongoFilesExclusive in remapViewOfFiles on Windows.&lt;/p&gt;

&lt;p&gt;Since remapViewOfFiles isn&apos;t atomic on Windows, it must exclusively acquire the&lt;br/&gt;
&quot;mongo files&quot; lock.  Otherwise, &quot;touch&quot; operations in other threads might try&lt;br/&gt;
to access memory during the window when it is not mapped.&lt;/p&gt;

&lt;p&gt;See &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5680&quot; title=&quot;repl13.js failing on Windows 64-bit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5680&quot;&gt;&lt;del&gt;SERVER-5680&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5663&quot; title=&quot;Private pages accumulate in Windows RAM and page file when journaling&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5663&quot;&gt;&lt;del&gt;SERVER-5663&lt;/del&gt;&lt;/a&gt;.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d8462a26b9089c5e58d1e340dcada83719ea4e47&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d8462a26b9089c5e58d1e340dcada83719ea4e47&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="111949" author="tad" created="Fri, 20 Apr 2012 14:26:24 +0000"  >&lt;p&gt;Fixed by commit 6097787b1f3c7f9b4f8dca68f66d474eaa60b1d1 .&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="13496">SERVER-2002</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="21275">SERVER-3660</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="26896">SERVER-4522</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="16097">SERVER-2942</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="41782">SERVER-6132</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>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 25 Apr 2012 20:52:37 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            11 years, 34 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[Windows]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>tad</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hro58n:</customfieldvalue>

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

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

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