Skip to main content

Name

Use_MMAP — use mmap when spooling messages from disk

Synopsis

Use_MMAP = false

Use_MMAP = true

Description

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.

Warning

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

Scope

use_mmap is valid in the global scope.

See Also

Was this page helpful?