-
Type: Bug
-
Resolution: Done
-
Priority: Critical - P2
-
Affects Version/s: None
-
Component/s: Stability
-
Environment:MongoDB x64 on Windows 7
-
Windows
-
-
Server 2.7.1
When memory mapping on Windows mongod keeps track of the address to start the mapping at (adjusting by file size on every map). Since this is an always incrementing number mongod crashes with the above error when it hits the upper bound of user address space of 8TB (http://blogs.technet.com/b/markrussinovich/archive/2008/11/17/3155406.aspx). Modifying the code to print the virtual address we are trying to map to, we get
Wed Aug 14 14:27:55.390 [conn1] MapViewOfFileEx for c:\data\db\test.0 failed with errno:487 Attempt to access invalid address. (file size is 2146435072) in MemoryMappedFile::map (for address 000007FED7000000)
- is duplicated by
-
SERVER-6954 FlushViewOfFile with error 487 when trying to do repair database and recreate capped collection several times
- Closed
- is related to
-
SERVER-2942 MapViewOfFileEx failed during large import
- Closed
- related to
-
SERVER-14840 FAssert on windows after long running create and drop database test
- Closed