Mantid
|
Functions | |
MANTID_KERNEL_DLL void | initAllocatorOptions () |
Initialize platform-dependent options for memory management. More... | |
void Mantid::Kernel::MemoryOptions::initAllocatorOptions | ( | ) |
Initialize platform-dependent options for memory management.
On Windows this enables the low-fragmentation heap described here: http://msdn.microsoft.com/en-us/library/aa366750%28v=vs.85%29.aspx On Linux this enables the mmap option for malloc calls to try and release memory more frequently. Note that this function can only be called once
Definition at line 282 of file Memory.cpp.
References Mantid::Kernel::Logger::debug().
Referenced by Mantid::API::FrameworkManagerImpl::FrameworkManagerImpl().