Skip to content

kumo.get_memory_soft_limit

local limit = kumo.get_memory_soft_limit()
Since: Version 2026.03.04-bb93ecb1

The functionality described in this section requires version 2026.03.04-bb93ecb1 of KumoMTA, or a more recent version.

Returns the soft memory limit, or nil if none has been configured.

If your policy doesn't explicitly configure hard/soft limits, whether there is a default soft limit depends on the environment into which the process was spawned.

See Memory Management for a discussion on how kumomta manages memory usage.