Skip to content

kumo.get_memory_soft_limit

local limit = kumo.get_memory_soft_limit()
Since: Dev Builds Only

The functionality described in this section requires a dev build of KumoMTA. You can obtain a dev build by following the instructions in the Installation section.

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.