<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:05:34 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-4300] &quot;Assertion: 10000:out of memory BufBuilder&quot; then crashed on Windows 7 64bits</title>
                <link>https://jira.mongodb.org/browse/SERVER-4300</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;my server is running Windows 7 64bits,24GB RAM, MongoDB2.0.1 with journaling enable.&lt;/p&gt;

&lt;p&gt;i use c# driver to insert data into MongoDB, each insert data is about 2MB. After a while, MongoDB consumed all of 24GB memory, then out of memory dialog of Windows pops up, I turned the dialog off(twice), then MongoDb was alive for a while then crashed.&lt;/p&gt;

&lt;p&gt;The virtual memory(pagefile size) of Windows is 73595MB, it is managed automatically by Windows&lt;/p&gt;

&lt;p&gt;console message:&lt;/p&gt;

&lt;p&gt;Thu Nov 17 09:23:20 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1817&amp;#93;&lt;/span&gt; update surveyData.photos query: &lt;/p&gt;
{ _id: 1099111116065824545 }
&lt;p&gt; update: { _id: 1099111116065824545, sqliteId: &quot;129495&quot;, gps_time: new Date(1321397904545), loc: &lt;/p&gt;
{ lon: 121.640237, lat: 25.061985 }
&lt;p&gt;, heading: 0.0, gps_accuracy: 0.0, velocity: 0.0, cam_0: &quot;285757496&quot;, cam_0_blob: BinData, cam_1: &quot;285876579&quot;, cam_1_blob: BinData, cam_2: &quot;285876590&quot;, cam_2_blob: BinData, cam_3: &quot;285885861&quot;, cam_3_blob: BinData, cam_4: &quot;285876226&quot;, cam_4_blob: BinData, cam_5: &quot;285885859&quot;, cam_5_blob: BinData, cam_6: &quot;285876230&quot;, cam_6_blob: BinData,cam_7: &quot;285757478&quot;, cam_7_blob: BinData, cam_8: &quot;285757493&quot;, cam_8_blob: BinData, created_at: new Date(1321444899758), mod_at: new Date(1321493204950) } idhack:1 234ms&lt;br/&gt;
Thu Nov 17 09:23:21 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1817&amp;#93;&lt;/span&gt; update surveyData.photos query: &lt;/p&gt;
{ _id: 1099111116065824894 }
&lt;p&gt; update: { _id: 1099111116065824894, sqliteId: &quot;129496&quot;, gps_time: new Date(1321397904894), loc: &lt;/p&gt;
{ lon: 121.640237, lat: 25.061985 }
&lt;p&gt;, heading: 0.0, gps_accuracy: 0.0, velocity: 0.0, cam_0: &quot;285757496&quot;, cam_0_blob: BinData, cam_1: &quot;285876579&quot;, cam_1_blob: BinData, cam_2: &quot;285876590&quot;, cam_2_blob: BinData, cam_3: &quot;285885861&quot;, cam_3_blob: BinData, cam_4: &quot;285876226&quot;, cam_4_blob: BinData, cam_5: &quot;285885859&quot;, cam_5_blob: BinData, cam_6: &quot;285876230&quot;, cam_6_blob: BinData,cam_7: &quot;285757478&quot;, cam_7_blob: BinData, cam_8: &quot;285757493&quot;, cam_8_blob: BinData, created_at: new Date(1321444900171), mod_at: new Date(1321493205579) } idhack:1 171ms&lt;br/&gt;
Thu Nov 17 09:23:21 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1817&amp;#93;&lt;/span&gt; end connection 10.77.1.34:63669&lt;br/&gt;
Thu Nov 17 09:23:22 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1815&amp;#93;&lt;/span&gt; Assertion: 10000:out of memory BufBuilder&lt;br/&gt;
Thu Nov 17 09:23:22 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1815&amp;#93;&lt;/span&gt; assertion 10000 out of memory BufBuilder ns:surveyData.photos query:&lt;/p&gt;
{ _id: 1099111116065819550 }
&lt;p&gt;Thu Nov 17 09:23:22 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1815&amp;#93;&lt;/span&gt; end connection 10.77.1.34:63665&lt;br/&gt;
Thu Nov 17 09:23:26 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1819&amp;#93;&lt;/span&gt; Assertion: 10000:out of memory BufBuilder&lt;br/&gt;
Thu Nov 17 09:23:26 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1819&amp;#93;&lt;/span&gt; assertion 10000 out of memory BufBuilder ns:surveyData.photos query:&lt;/p&gt;
{ _id: 1099111116065819887 }
&lt;p&gt;Thu Nov 17 09:23:26 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1819&amp;#93;&lt;/span&gt; end connection 10.77.1.34:63676&lt;br/&gt;
Thu Nov 17 09:23:29 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 10.77.1.34:64147 #1864&lt;br/&gt;
Thu Nov 17 09:23:29 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1864&amp;#93;&lt;/span&gt; Assertion: 10000:out of memory BufBuilder&lt;br/&gt;
Thu Nov 17 09:23:29 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1864&amp;#93;&lt;/span&gt; assertion 10000 out of memory BufBuilder ns:surveyData.photos query:&lt;/p&gt;
{ _id: 1099111116065820249 }
&lt;p&gt;Thu Nov 17 09:23:29 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1864&amp;#93;&lt;/span&gt; end connection 10.77.1.34:64147&lt;br/&gt;
Thu Nov 17 09:23:31 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 10.77.1.34:64148 #1865&lt;br/&gt;
Thu Nov 17 09:24:16 &lt;span class=&quot;error&quot;&gt;&amp;#91;clientcursormon&amp;#93;&lt;/span&gt; mem (MB) res:2036 virt:217008 mapped:108397&lt;br/&gt;
.&lt;br/&gt;
.&lt;br/&gt;
.&lt;br/&gt;
(turn off Windows &quot;out of memory&quot; warning dialog,keep iusert/update data)&lt;br/&gt;
.&lt;br/&gt;
.&lt;br/&gt;
.&lt;br/&gt;
Thu Nov 17 09:59:25 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1873&amp;#93;&lt;/span&gt; update surveyData.photos query: &lt;/p&gt;
{ _id: 1099111116064457111 }
&lt;p&gt; update: { _id: 1099111116064457111, sqliteId: &quot;127201&quot;, gps_time: new Date(1321397097111), loc: &lt;/p&gt;
{ lon: 121.640238, lat: 25.061983 }
&lt;p&gt;, heading: 0.0, gps_accuracy: 0.0, velocity: 0.0, cam_0: &quot;285757496&quot;, cam_0_blob: BinData, cam_1: &quot;285876579&quot;, cam_1_blob: BinData, cam_2: &quot;285876590&quot;, cam_2_blob: BinData, cam_3: &quot;285885861&quot;, cam_3_blob: BinData, cam_4: &quot;285876226&quot;, cam_4_blob: BinData, cam_5: &quot;285885859&quot;, cam_5_blob: BinData, cam_6: &quot;285876230&quot;, cam_6_blob: BinData,cam_7: &quot;285757478&quot;, cam_7_blob: BinData, cam_8: &quot;285757493&quot;, cam_8_blob: BinData, created_at: new Date(1321445789421), mod_at: new Date(1321495365770) } idhack:1 483ms&lt;br/&gt;
Thu Nov 17 09:59:25 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1873&amp;#93;&lt;/span&gt; Assertion: 10000:out of memory BufBuilder&lt;br/&gt;
Thu Nov 17 09:59:25 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1873&amp;#93;&lt;/span&gt; assertion 10000 out of memory BufBuilder ns:surveyData.photos query:&lt;/p&gt;
{ _id: 1099111116064457454 }
&lt;p&gt;Thu Nov 17 09:59:25 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1873&amp;#93;&lt;/span&gt; end connection 10.77.1.34:65286&lt;br/&gt;
Thu Nov 17 09:59:52 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1886&amp;#93;&lt;/span&gt; VirtualProtect failed (mcw) e:/db/panorama.27 20381fd8000000 4000000 errno:1455 ?&#62032;?&#29820;&#59202;&#20113;&#25760;&#58427;&lt;cite&gt;&#8869;?&#25712;&#62971;&lt;/cite&gt;&#63126;???&lt;br/&gt;
Thu Nov 17 09:59:52 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1886&amp;#93;&lt;/span&gt;  panorama.Pano Assertion failure false db\mongommf.cpp 72&lt;br/&gt;
Thu Nov 17 09:59:52 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1886&amp;#93;&lt;/span&gt; insert panorama.Pano exception: assertion db\mongommf.cpp:72 31ms&lt;br/&gt;
.&lt;br/&gt;
.&lt;br/&gt;
.&lt;br/&gt;
(turn off Windows &quot;out of memory&quot; warning dialog,keep iusert/update data)&lt;br/&gt;
.&lt;br/&gt;
.&lt;br/&gt;
.&lt;br/&gt;
Thu Nov 17 10:03:21 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1899&amp;#93;&lt;/span&gt; Assertion: 10000:out of memory BufBuilder&lt;br/&gt;
Thu Nov 17 10:03:21 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1900&amp;#93;&lt;/span&gt; Assertion: 10000:out of memory BufBuilder&lt;br/&gt;
Thu Nov 17 10:03:21 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1899&amp;#93;&lt;/span&gt; assertion 10000 out of memory BufBuilder ns:surveyData.photos query:&lt;/p&gt;
{ _id: 1099111116064325374 }
&lt;p&gt;Thu Nov 17 10:03:21 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1900&amp;#93;&lt;/span&gt; assertion 10000 out of memory BufBuilder ns:surveyData.photos query:&lt;/p&gt;
{ _id: 1099111116064330919 }
&lt;p&gt;Thu Nov 17 10:03:21 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1899&amp;#93;&lt;/span&gt; end connection 10.77.1.34:49382&lt;br/&gt;
Thu Nov 17 10:03:21 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1900&amp;#93;&lt;/span&gt; end connection 10.77.1.34:49383&lt;br/&gt;
Thu Nov 17 10:03:23 dbexit: malloc fails&lt;br/&gt;
Thu Nov 17 10:03:23 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1897&amp;#93;&lt;/span&gt; shutdown: going to close listening sockets...&lt;br/&gt;
Thu Nov 17 10:03:23 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1897&amp;#93;&lt;/span&gt; closing listening socket: 448&lt;br/&gt;
Thu Nov 17 10:03:23 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; now exiting&lt;br/&gt;
Thu Nov 17 10:03:23 dbexit: ; exiting immediately&lt;br/&gt;
Thu Nov 17 10:03:23 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1897&amp;#93;&lt;/span&gt; closing listening socket: 452&lt;br/&gt;
Thu Nov 17 10:03:23 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1897&amp;#93;&lt;/span&gt; shutdown: going to flush diaglog...&lt;br/&gt;
Thu Nov 17 10:03:23 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1897&amp;#93;&lt;/span&gt; shutdown: going to close sockets...&lt;br/&gt;
Thu Nov 17 10:03:23 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1897&amp;#93;&lt;/span&gt; shutdown: waiting for fs preallocator...&lt;br/&gt;
Thu Nov 17 10:03:23 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1897&amp;#93;&lt;/span&gt; shutdown: lock for final commit...&lt;/p&gt;


&lt;p&gt;There is no such issue if I turn off journaling function, but I need it to reduce time consuming for repairDatabase&lt;/p&gt;
</description>
                <environment></environment>
        <key id="25030">SERVER-4300</key>
            <summary>&quot;Assertion: 10000:out of memory BufBuilder&quot; then crashed on Windows 7 64bits</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="3">Duplicate</resolution>
                                        <assignee username="tad">Tad Marshall</assignee>
                                    <reporter username="bigdav">David Huang</reporter>
                        <labels>
                            <label>SERVER_V2</label>
                            <label>crash</label>
                            <label>insert</label>
                            <label>update</label>
                    </labels>
                <created>Thu, 17 Nov 2011 02:20:44 +0000</created>
                <updated>Wed, 15 Aug 2012 14:04:18 +0000</updated>
                            <resolved>Sun, 4 Mar 2012 22:13:37 +0000</resolved>
                                    <version>2.0.1</version>
                                                    <component>Storage</component>
                                        <votes>1</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="103203" author="tad" created="Sat, 24 Mar 2012 02:38:06 +0000"  >&lt;p&gt;The Windows version of MongoDB is using up space in the page file, and this can cause out-of-memory failures anywhere in the system, including in mongod.exe itself.  Turning off journaling will prevent this problem, but this is not a good idea for most use cases.  All of the &quot;out of memory BufBuilder&quot; errors are simply out-of-memory issues, and all further problems are a result of the low-memory condition.&lt;/p&gt;</comment>
                            <comment id="95117" author="tad" created="Sun, 4 Mar 2012 22:13:26 +0000"  >&lt;p&gt;Consolidating closely related issues into one.&lt;/p&gt;</comment>
                            <comment id="70107" author="tad" created="Thu, 1 Dec 2011 16:20:59 +0000"  >&lt;p&gt;In starting to talk to Microsoft about these issues (memory usage, degraded performance) they had some suggestions for research:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Can you please confirm what version of server your customers are using?  Is this on Windows Server 2003? &lt;/p&gt;

&lt;p&gt;Below is the info on how to get tracing info &#8211; this should help investigate the issue&lt;/p&gt;

&lt;p&gt;1)  Install Xperf on the server with the issue. (it comes with the Windows Performance Toolkit from the Windows SDK)&lt;/p&gt;

&lt;p&gt;2)  On a command prompt, launch the following command&lt;br/&gt;
  a.  Xperf.exe &#8211;on base+latency+fileio &#8211;stackwalk profile+filewrite+fileread+fileflush&lt;/p&gt;

&lt;p&gt;3)  Reproduce the issue you&#8217;re facing&lt;/p&gt;

&lt;p&gt;4)  Run the following command:&lt;br/&gt;
  a.  Xperf.exe &#8211;d mytrace.etl&lt;/p&gt;

&lt;p&gt;5)  View the trace: xperf.exe mytrace.etl&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;I haven&apos;t tried this yet, but I will and will report what I learn.  You could try it on your machines and see if it tells you something useful, thanks!&lt;/p&gt;</comment>
                            <comment id="68697" author="bigdav" created="Thu, 24 Nov 2011 01:02:25 +0000"  >&lt;p&gt;Hello Scott&lt;/p&gt;

&lt;p&gt;My colleague and I test again with fixed size page file. We inserted a lot of binary data into MongoDB, we reproduced error 1(the OS returned an error because of memory usage and closed mongod) and error 2(MapViewOfFile failed issue) again. I attached another log (error_log_20111124.txt) which is about MapViewOfFile failed issue.&lt;/p&gt;

&lt;p&gt;My Ruby code is to read file paths from a file, read the eight target files and save them as a BSON document, then insert the BSON document into MongoDB. Each file is about 100~200K, so it means each BSON document is about 1MB or more.&lt;/p&gt;

&lt;p&gt;My colleague did the same thing but he uses C# driver.&lt;/p&gt;


&lt;p&gt;Ruby code is something like this:&lt;/p&gt;



&lt;p&gt;require &apos;date&apos;&lt;br/&gt;
require &apos;mongo&apos;&lt;/p&gt;

&lt;p&gt;connection = Mongo::Connection.new(&quot;10.77.1.82&quot;,27017)&lt;br/&gt;
db = Mongo::Connection.new(&quot;10.77.1.82&quot;,27017).db(&quot;survey_photos&quot;)&lt;br/&gt;
photos = db.collection(&apos;photos&apos;)&lt;/p&gt;

&lt;p&gt;file_0 = File.open(&quot;PhotosList.txt&quot;)&lt;/p&gt;

&lt;p&gt;file_0.uber_gets(&quot;\n&quot;) do |s1|&lt;br/&gt;
	_photo_path_0 = s1.split(&quot;,&quot;)&lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt;    #file path for photo 1&lt;br/&gt;
	_photo_path_1 = s1.split(&quot;,&quot;)&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;    #file path for photo 2&lt;br/&gt;
	_photo_path_2 = s1.split(&quot;,&quot;)&lt;span class=&quot;error&quot;&gt;&amp;#91;2&amp;#93;&lt;/span&gt;&lt;br/&gt;
	_photo_path_3 = s1.split(&quot;,&quot;)&lt;span class=&quot;error&quot;&gt;&amp;#91;3&amp;#93;&lt;/span&gt;&lt;br/&gt;
	_photo_path_4 = s1.split(&quot;,&quot;)&lt;span class=&quot;error&quot;&gt;&amp;#91;4&amp;#93;&lt;/span&gt;&lt;br/&gt;
	_photo_path_5 = s1.split(&quot;,&quot;)&lt;span class=&quot;error&quot;&gt;&amp;#91;5&amp;#93;&lt;/span&gt;&lt;br/&gt;
	_photo_path_6 = s1.split(&quot;,&quot;)&lt;span class=&quot;error&quot;&gt;&amp;#91;6&amp;#93;&lt;/span&gt;&lt;br/&gt;
	_photo_path_7 = s1.split(&quot;,&quot;)&lt;span class=&quot;error&quot;&gt;&amp;#91;7&amp;#93;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;	mem_buf_0 = File.open(_photo_path_0,&quot;rb&quot;) &lt;/p&gt;
{|io| io.read}&lt;br/&gt;
	mem_buf_1 = File.open(_photo_path_1,&quot;rb&quot;) {|io| io.read}
&lt;p&gt;	mem_buf_2 = File.open(_photo_path_2,&quot;rb&quot;) &lt;/p&gt;
{|io| io.read}&lt;br/&gt;
	mem_buf_3 = File.open(_photo_path_3,&quot;rb&quot;) {|io| io.read}
&lt;p&gt;	mem_buf_4 = File.open(_photo_path_4,&quot;rb&quot;) &lt;/p&gt;
{|io| io.read}&lt;br/&gt;
	mem_buf_5 = File.open(_photo_path_5,&quot;rb&quot;) {|io| io.read}
&lt;p&gt;	mem_buf_6 = File.open(_photo_path_6,&quot;rb&quot;) &lt;/p&gt;
{|io| io.read}&lt;br/&gt;
	mem_buf_7 = File.open(_photo_path_7,&quot;rb&quot;) {|io| io.read}

&lt;p&gt; 	new_photo = &lt;/p&gt;
{
			&quot;cam_0&quot; =&amp;gt; BSON::Binary.new(mem_buf_0),
			&quot;cam_1&quot; =&amp;gt; BSON::Binary.new(mem_buf_1),
			&quot;cam_2&quot; =&amp;gt; BSON::Binary.new(mem_buf_2),
			&quot;cam_3&quot; =&amp;gt; BSON::Binary.new(mem_buf_3),
			&quot;cam_4&quot; =&amp;gt; BSON::Binary.new(mem_buf_4),
			&quot;cam_5&quot; =&amp;gt; BSON::Binary.new(mem_buf_5),
			&quot;cam_6&quot; =&amp;gt; BSON::Binary.new(mem_buf_6),
			&quot;cam_7&quot; =&amp;gt; BSON::Binary.new(mem_buf_7),
			&quot;upload_time&quot; =&amp;gt; Time.now
			}

&lt;p&gt;		photo_id = photos.insert(new_photo)&lt;br/&gt;
end&lt;/p&gt;</comment>
                            <comment id="68560" author="scotthernandez" created="Wed, 23 Nov 2011 15:43:26 +0000"  >&lt;p&gt;I can reproduce the windows memory protection dialog case but not the last one you had. Can you provide your code to test with?&lt;/p&gt;

&lt;p&gt;When I set my page file to a fixed size and ran some tests it ran for a while until the OS returned an error because of memory usage and closed mongod.&lt;/p&gt;

&lt;p&gt;I am testing on Windows 7 (Ultimate-ENG)&lt;/p&gt;</comment>
                            <comment id="68105" author="bigdav" created="Tue, 22 Nov 2011 00:25:04 +0000"  >&lt;p&gt;I did another test and attached the log file.&lt;br/&gt;
Sorry about some weird characters in the log file, because I am using Traditional Chinese version of Windows 7.&lt;/p&gt;

&lt;p&gt;This time the log shows more information, it shows &quot;MapViewOfFile failed&quot; before malloc fails then crashed...no Windows warning dialog.&lt;/p&gt;</comment>
                            <comment id="68103" author="bigdav" created="Tue, 22 Nov 2011 00:18:29 +0000"  >&lt;p&gt;YES&lt;/p&gt;</comment>
                            <comment id="67878" author="scotthernandez" created="Mon, 21 Nov 2011 14:20:18 +0000"  >&lt;p&gt;Thanks for testing, just to be clear, in the last run you had journaling on, correct?&lt;/p&gt;</comment>
                            <comment id="67829" author="bigdav" created="Mon, 21 Nov 2011 08:47:09 +0000"  >&lt;p&gt;bad news..in 7th hour, monogd crashed, NO warning dialog this time.&lt;/p&gt;

&lt;p&gt;.&lt;br/&gt;
.&lt;br/&gt;
.&lt;br/&gt;
Mon Nov 21 16:38:25 &lt;span class=&quot;error&quot;&gt;&amp;#91;journal&amp;#93;&lt;/span&gt; old journal file will be removed: e:/db/journal/j._171&lt;br/&gt;
Mon Nov 21 16:38:41 &lt;span class=&quot;error&quot;&gt;&amp;#91;PeriodicTask::Runner&amp;#93;&lt;/span&gt; task: DBConnectionPool-cleaner took:15ms&lt;br/&gt;
Mon Nov 21 16:38:41 &lt;span class=&quot;error&quot;&gt;&amp;#91;PeriodicTask::Runner&amp;#93;&lt;/span&gt; task: WriteBackManager::cleaner took: 31ms&lt;br/&gt;
Mon Nov 21 16:39:41 dbexit: malloc fails&lt;br/&gt;
Mon Nov 21 16:39:41 dbexit: malloc fails; exiting immediately&lt;br/&gt;
Mon Nov 21 16:39:41 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn600&amp;#93;&lt;/span&gt; shutdown: going to close listening sockets...&lt;br/&gt;
Mon Nov 21 16:39:41 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; now exiting&lt;br/&gt;
Mon Nov 21 16:39:41 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn600&amp;#93;&lt;/span&gt; closing listening socket: 444&lt;br/&gt;
Mon Nov 21 16:39:41 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn600&amp;#93;&lt;/span&gt; closing listening socket: 448&lt;br/&gt;
Mon Nov 21 16:39:41 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn600&amp;#93;&lt;/span&gt; shutdown: going to flush diaglog...&lt;br/&gt;
Mon Nov 21 16:39:41 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn600&amp;#93;&lt;/span&gt; shutdown: going to close sockets...&lt;br/&gt;
Mon Nov 21 16:39:41 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn803&amp;#93;&lt;/span&gt; got request after shutdown()&lt;br/&gt;
Logstream::get called in uninitialized state&lt;br/&gt;
Mon Nov 21 16:39:42 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn600&amp;#93;&lt;/span&gt; shutdown: waiting for fs preallocator...&lt;br/&gt;
Logstream::get called in uninitialized state&lt;br/&gt;
Mon Nov 21 16:39:42 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn600&amp;#93;&lt;/span&gt; shutdown: lock for final commit...&lt;br/&gt;
Logstream::get called in uninitialized state&lt;br/&gt;
Mon Nov 21 16:39:43 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn809&amp;#93;&lt;/span&gt; got request after shutdown()&lt;br/&gt;
Logstream::get called in uninitialized state&lt;br/&gt;
Logstream::get called in uninitialized state&lt;br/&gt;
Mon Nov 21 16:39:43 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn810&amp;#93;&lt;/span&gt; end connection 10.77.1.34:54714&lt;br/&gt;
Mon Nov 21 16:39:43 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn822&amp;#93;&lt;/span&gt; end connection 10.77.1.34:54830&lt;br/&gt;
Logstream::get called in uninitialized state&lt;br/&gt;
Mon Nov 21 16:39:43 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn808&amp;#93;&lt;/span&gt; end connection 10.77.1.58:3693&lt;/p&gt;

&lt;p&gt;c:\mongodb-win32-x86_64-2.0.1\bin&amp;gt;&lt;/p&gt;
</comment>
                            <comment id="67826" author="bigdav" created="Mon, 21 Nov 2011 07:56:31 +0000"  >&lt;p&gt;Hello all&lt;/p&gt;

&lt;p&gt;I have used fixed page file size(160GB) and inserted 85071 objects(Data Size 130.41g) last six hours.&lt;br/&gt;
System is stable, so far so good. It looks like I have to use fixed size page file, not ranged size nor windows automatically managed.&lt;/p&gt;

&lt;p&gt;I will keep updating my testing result.&lt;/p&gt;</comment>
                            <comment id="67511" author="bigdav" created="Thu, 17 Nov 2011 23:53:36 +0000"  >&lt;p&gt;I have set the initial page file size to 80GB and max size to 160GB, the problem still exists.&lt;/p&gt;

&lt;p&gt;The c# client received &quot;Assertion: 10000&quot; error message again, but MongoDB server doesn&apos;t show the &quot;Assertion: 10000&quot; error message this time, just the out of memory warning dialog.&lt;/p&gt;

&lt;p&gt;The virtual memory configuration dialog of Windows indicates that it is using 160GB of memory while out of memory warning dialog shows up.&lt;/p&gt;


&lt;p&gt;I will use fixed size page file (initial page file size 160GB and max size 160GB) for next testing&lt;/p&gt;</comment>
                            <comment id="67362" author="scotthernandez" created="Thu, 17 Nov 2011 12:58:35 +0000"  >&lt;p&gt;Please test using a fixed size page file, not a dynamic one (windows managed).&lt;/p&gt;</comment>
                            <comment id="67327" author="eliot" created="Thu, 17 Nov 2011 05:38:43 +0000"  >&lt;p&gt;Can you try increasing the windows page file?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="32153">SERVER-5194</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="13900" name="error_log_20111112.txt" size="10085" author="bigdav" created="Tue, 22 Nov 2011 01:26:56 +0000"/>
                            <attachment id="13898" name="error_log_20111112.txt" size="10085" author="bigdav" created="Tue, 22 Nov 2011 00:23:22 +0000"/>
                            <attachment id="13928" name="error_log_20111124.txt" size="1908" author="bigdav" created="Thu, 24 Nov 2011 00:45:07 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>13.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 17 Nov 2011 05:38:43 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 47 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, 47 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="10022"><![CDATA[Windows]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>bigdav</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>scotthernandez</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|hrolfz:</customfieldvalue>

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

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

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