Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-4300

"Assertion: 10000:out of memory BufBuilder" then crashed on Windows 7 64bits

    • Windows

      my server is running Windows 7 64bits,24GB RAM, MongoDB2.0.1 with journaling enable.

      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.

      The virtual memory(pagefile size) of Windows is 73595MB, it is managed automatically by Windows

      console message:

      Thu Nov 17 09:23:20 [conn1817] update surveyData.photos query:

      { _id: 1099111116065824545 }

      update: { _id: 1099111116065824545, sqliteId: "129495", gps_time: new Date(1321397904545), loc:

      { lon: 121.640237, lat: 25.061985 }

      , heading: 0.0, gps_accuracy: 0.0, velocity: 0.0, cam_0: "285757496", cam_0_blob: BinData, cam_1: "285876579", cam_1_blob: BinData, cam_2: "285876590", cam_2_blob: BinData, cam_3: "285885861", cam_3_blob: BinData, cam_4: "285876226", cam_4_blob: BinData, cam_5: "285885859", cam_5_blob: BinData, cam_6: "285876230", cam_6_blob: BinData,cam_7: "285757478", cam_7_blob: BinData, cam_8: "285757493", cam_8_blob: BinData, created_at: new Date(1321444899758), mod_at: new Date(1321493204950) } idhack:1 234ms
      Thu Nov 17 09:23:21 [conn1817] update surveyData.photos query:

      { _id: 1099111116065824894 }

      update: { _id: 1099111116065824894, sqliteId: "129496", gps_time: new Date(1321397904894), loc:

      { lon: 121.640237, lat: 25.061985 }

      , heading: 0.0, gps_accuracy: 0.0, velocity: 0.0, cam_0: "285757496", cam_0_blob: BinData, cam_1: "285876579", cam_1_blob: BinData, cam_2: "285876590", cam_2_blob: BinData, cam_3: "285885861", cam_3_blob: BinData, cam_4: "285876226", cam_4_blob: BinData, cam_5: "285885859", cam_5_blob: BinData, cam_6: "285876230", cam_6_blob: BinData,cam_7: "285757478", cam_7_blob: BinData, cam_8: "285757493", cam_8_blob: BinData, created_at: new Date(1321444900171), mod_at: new Date(1321493205579) } idhack:1 171ms
      Thu Nov 17 09:23:21 [conn1817] end connection 10.77.1.34:63669
      Thu Nov 17 09:23:22 [conn1815] Assertion: 10000:out of memory BufBuilder
      Thu Nov 17 09:23:22 [conn1815] assertion 10000 out of memory BufBuilder ns:surveyData.photos query:

      { _id: 1099111116065819550 }

      Thu Nov 17 09:23:22 [conn1815] end connection 10.77.1.34:63665
      Thu Nov 17 09:23:26 [conn1819] Assertion: 10000:out of memory BufBuilder
      Thu Nov 17 09:23:26 [conn1819] assertion 10000 out of memory BufBuilder ns:surveyData.photos query:

      { _id: 1099111116065819887 }

      Thu Nov 17 09:23:26 [conn1819] end connection 10.77.1.34:63676
      Thu Nov 17 09:23:29 [initandlisten] connection accepted from 10.77.1.34:64147 #1864
      Thu Nov 17 09:23:29 [conn1864] Assertion: 10000:out of memory BufBuilder
      Thu Nov 17 09:23:29 [conn1864] assertion 10000 out of memory BufBuilder ns:surveyData.photos query:

      { _id: 1099111116065820249 }

      Thu Nov 17 09:23:29 [conn1864] end connection 10.77.1.34:64147
      Thu Nov 17 09:23:31 [initandlisten] connection accepted from 10.77.1.34:64148 #1865
      Thu Nov 17 09:24:16 [clientcursormon] mem (MB) res:2036 virt:217008 mapped:108397
      .
      .
      .
      (turn off Windows "out of memory" warning dialog,keep iusert/update data)
      .
      .
      .
      Thu Nov 17 09:59:25 [conn1873] update surveyData.photos query:

      { _id: 1099111116064457111 }

      update: { _id: 1099111116064457111, sqliteId: "127201", gps_time: new Date(1321397097111), loc:

      { lon: 121.640238, lat: 25.061983 }

      , heading: 0.0, gps_accuracy: 0.0, velocity: 0.0, cam_0: "285757496", cam_0_blob: BinData, cam_1: "285876579", cam_1_blob: BinData, cam_2: "285876590", cam_2_blob: BinData, cam_3: "285885861", cam_3_blob: BinData, cam_4: "285876226", cam_4_blob: BinData, cam_5: "285885859", cam_5_blob: BinData, cam_6: "285876230", cam_6_blob: BinData,cam_7: "285757478", cam_7_blob: BinData, cam_8: "285757493", cam_8_blob: BinData, created_at: new Date(1321445789421), mod_at: new Date(1321495365770) } idhack:1 483ms
      Thu Nov 17 09:59:25 [conn1873] Assertion: 10000:out of memory BufBuilder
      Thu Nov 17 09:59:25 [conn1873] assertion 10000 out of memory BufBuilder ns:surveyData.photos query:

      { _id: 1099111116064457454 }

      Thu Nov 17 09:59:25 [conn1873] end connection 10.77.1.34:65286
      Thu Nov 17 09:59:52 [conn1886] VirtualProtect failed (mcw) e:/db/panorama.27 20381fd8000000 4000000 errno:1455 ??瑼云撠⊥?摰???
      Thu Nov 17 09:59:52 [conn1886] panorama.Pano Assertion failure false db\mongommf.cpp 72
      Thu Nov 17 09:59:52 [conn1886] insert panorama.Pano exception: assertion db\mongommf.cpp:72 31ms
      .
      .
      .
      (turn off Windows "out of memory" warning dialog,keep iusert/update data)
      .
      .
      .
      Thu Nov 17 10:03:21 [conn1899] Assertion: 10000:out of memory BufBuilder
      Thu Nov 17 10:03:21 [conn1900] Assertion: 10000:out of memory BufBuilder
      Thu Nov 17 10:03:21 [conn1899] assertion 10000 out of memory BufBuilder ns:surveyData.photos query:

      { _id: 1099111116064325374 }

      Thu Nov 17 10:03:21 [conn1900] assertion 10000 out of memory BufBuilder ns:surveyData.photos query:

      { _id: 1099111116064330919 }

      Thu Nov 17 10:03:21 [conn1899] end connection 10.77.1.34:49382
      Thu Nov 17 10:03:21 [conn1900] end connection 10.77.1.34:49383
      Thu Nov 17 10:03:23 dbexit: malloc fails
      Thu Nov 17 10:03:23 [conn1897] shutdown: going to close listening sockets...
      Thu Nov 17 10:03:23 [conn1897] closing listening socket: 448
      Thu Nov 17 10:03:23 [initandlisten] now exiting
      Thu Nov 17 10:03:23 dbexit: ; exiting immediately
      Thu Nov 17 10:03:23 [conn1897] closing listening socket: 452
      Thu Nov 17 10:03:23 [conn1897] shutdown: going to flush diaglog...
      Thu Nov 17 10:03:23 [conn1897] shutdown: going to close sockets...
      Thu Nov 17 10:03:23 [conn1897] shutdown: waiting for fs preallocator...
      Thu Nov 17 10:03:23 [conn1897] shutdown: lock for final commit...

      There is no such issue if I turn off journaling function, but I need it to reduce time consuming for repairDatabase

        1. error_log_20111124.txt
          2 kB
        2. error_log_20111112.txt
          10 kB
        3. error_log_20111112.txt
          10 kB

            Assignee:
            tad Tad Marshall
            Reporter:
            bigdav David Huang
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: