Blender Git Loki

Git Commits -> Revision 282ad43

Revision 282ad43 by Brecht Van Lommel (master)
January 23, 2014, 00:13 (GMT)
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.

Commit Details:

Full Hash: 282ad434a8bca760372f98ceec8a15725bf30bd1
Parent Commit: 28ca299
Lines Changed: +13, -0

3 Modified Paths:

/intern/guardedalloc/intern/mallocn_guarded_impl.c (+6, -0) (Diff)
/intern/guardedalloc/intern/mallocn_lockfree_impl.c (+6, -0) (Diff)
/intern/guardedalloc/intern/mmap_win.c (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021