blender/intern/guardedalloc
Brecht Van Lommel 282ad434a8 Memory allocation: do not use mmap for memory allocation on 64 bit.
On Windows we can only do mmap memory allocation up to 4 GB, which causes a
crash when doing very large renders on 64 bit systems with a lot of memory.

As far as I can tell the reason to use mmap is to get around address space
limitation on some 32 bit operating systems, and I can't see a reason to use
it on 64 bit. For the original explanation see here:
http://orange.blender.org/blog/stupid-memory-problems

Fixes T37841.
2014-01-23 01:13:46 +01:00
..
cpp code cleanup: some warnings and formatting for PyMethodDef's in the BGE. 2012-11-10 05:42:50 +00:00
intern Memory allocation: do not use mmap for memory allocation on 64 bit. 2014-01-23 01:13:46 +01:00
test/simpletest Added a brie instruction how to build simple memtest 2013-09-05 16:32:44 +00:00
CMakeLists.txt add atomic_ops.h to cmake's source code listing. 2013-10-31 14:09:01 +00:00
MEM_guardedalloc.h add MEM_SIZE_OPTIMAL to avoid memory fragmentation & waste lost to slop-space. 2013-10-10 18:18:13 +00:00
mmap_win.h * Fix Windows compiler errors after recent Lock-free memory allocator commit. 2013-10-10 16:11:57 +00:00
SConscript Lock-free memory allocator 2013-10-10 11:58:01 +00:00