Skip to content

kumo.get_memory_hard_limit

local limit = kumo.get_memory_hard_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 hard memory limit, or nil if none has been configured.

If your policy doesn't explicitly configure a limit via kumo.set_memory_hard_limit, whether there is a hard limit depends on the environment into which the process was spawned.

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