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 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?