Skip to main content


Use_MMAP — use mmap when spooling messages from disk


Use_MMAP = false

Use_MMAP = true


When set to true, Momentum will attempt to memory map message bodies (via mmap ), rather than allocating memory from the heap and reading the file from disk.

The default for this option is false. This option should be set dependent on the performance and stability of mmap on your system.


If you set Use_MMAP to true the compress_spool module will not load. For more information see “compress_spool – Dynamic Spool Compression”


use_mmap is valid in the global scope.

See Also

Was this page helpful?