Make the page file fixed, not dynamic; also increase to five gigs
--
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.
If you use a dynamic page file the OS doesn't increase it fast enough
to keep up with the (private) mapped memory calls needed for
journaling, it seems. In the next version we will (still being worked
on) warn and suggest creating a fixed size page file under windows for
this exact reason.
Note the error returned from windows printed in the log file: "The
paging file is too small for this operation to complete." This is
literally what windows returns when mongod tries to allocate memory.
Mon Nov 14 17:03:21 [conn4] VirtualProtect failed (mcw) C:/Data/
MongoDB/data/DocStore/DocStore.23 126313be520000 1ae0000 errno:1455
The paging file is too small for this operation to complete.
In general it seems like windows needs enough virtual memory (page
file) when mapping new files, like when it creates new db files. It
seems to depend on the page file settings and some ration of
free/total memory and the size of the files mapped.
Yes, I think there is a jira issue for this. I don't have time to look
now, but it is not a lost cause and it is something that is being
investigated albeit slower than some would like.
> Once again, thanks a lot for your answers, it's much appreciated.
>