Memory limits
Memory limits
Cap an instance’s memory when it is idle and restore it on wake-up, with the idle.memory and active.memory settings. The instance keeps running instead of stopping.
flowchart LR
active["Active<br/>active.memory"]
idle["Idle<br/>idle.memory"]
active -->|session expires| idle
idle -->|new request| active
| Setting | Applied when |
|---|---|
idle.memory | the session expires |
active.memory | a session is requested |
- Both need
idle.replicasat1or more. See Scale instead of stop for the shared idle and active model. - The value format depends on your provider, for example
64mor64Mi. Your provider page shows it, along with side effects such as swap or restarts.



