Mantid
Loading...
Searching...
No Matches
Functions
Mantid::Kernel::MemoryOptions Namespace Reference

Functions

MANTID_KERNEL_DLL void initAllocatorOptions ()
 Initialize platform-dependent options for memory management. More...
 

Function Documentation

◆ initAllocatorOptions()

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().