use 32-bit . but I insert only 4000000 data.

43 views
Skip to first unread message

zhaol...@gmail.com

unread,
Dec 22, 2011, 3:29:48 AM12/22/11
to mongodb-user
Thu Dec 22 16:26:24 [conn1] ERROR: mmap() failed for /stone/local/
mongodb/data/db/stone.9 len:536608768 errno:12 Cannot allocate memory
Thu Dec 22 16:26:24 [conn1] ERROR: mmap failed with out of memory. You
are using a 32-bit build and probably need to upgrade to 64
Thu Dec 22 16:26:24 [conn1] ERROR: mmap() failed for /stone/local/
mongodb/data/db/stone.9 len:536608768 errno:12 Cannot allocate memory
Thu Dec 22 16:26:24 [conn1] ERROR: mmap failed with out of memory. You
are using a 32-bit build and probably need to upgrade to 64
Thu Dec 22 16:26:24 [conn1] ERROR: mmap() failed for /stone/local/
mongodb/data/db/stone.9 len:536608768 errno:12 Cannot allocate memory
Thu Dec 22 16:26:24 [conn1] ERROR: mmap failed with out of memory. You
are using a 32-bit build and probably need to upgrade to 64
Thu Dec 22 16:26:24 [conn1] ERROR: mmap() failed for /stone/local/
mongodb/data/db/stone.9 len:536608768 errno:12 Cannot allocate memory
Thu Dec 22 16:26:24 [conn1] ERROR: mmap failed with out of memory. You
are using a 32-bit build and probably need to upgrade to 64
^CThu Dec 22 16:26:24 got kill or ctrl c or hup signal 2 (Interrupt),
will terminate after current cmd ends
Thu Dec 22 16:26:24 [conn1] ERROR: mmap() failed for /stone/local/
mongodb/data/db/stone.9 len:536608768 errno:12 Cannot allocate memory
Thu Dec 22 16:26:24 [conn1] ERROR: mmap failed with out of memory. You
are using a 32-bit build and probably need to upgrade to 64

Sam Millman

unread,
Dec 22, 2011, 4:15:25 AM12/22/11
to mongod...@googlegroups.com
4m rows with indexes can actually be rather large and most likely Mongo has exceeded its 2GB limit on 32bit.


--
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To post to this group, send email to mongod...@googlegroups.com.
To unsubscribe from this group, send email to mongodb-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.


Reply all
Reply to author
Forward
0 new messages