Configurable memory limits for workflow code execution on self-hosted instances
Available in self-hosted Retool 3.383.0 or later.
Admins can now configure memory limits for workflow code execution at the org level, and workflow editors can override those limits on a per-workflow basis.
- Org-level defaults: In Settings, go to the Advanced section and click Advanced settings to set a default memory limit (MB) that applies to all workflow runs in your organization.
- Workflow-level overrides: Open any workflow and go to Settings to override the org default for that workflow.
When a workflow runs a code block, the executor enforces the most specific limit available (workflow > org > server default). If a block exceeds its limit, it fails immediately with a clear error.
Customers who are not configuring limits see no behavior change — the server default of 2,500 MB memory applies. For customers whose workflows were hitting out-of-memory errors, limits can now be tuned without requiring infrastructure changes.