Memory Limits

This documentation is for Dash Enterprise.
Dash Enterprise is the fastest way to write & deploy Dash apps and
Jupyter notebooks.
10% of the Fortune 500 uses Dash Enterprise to productionize AI and
data science apps. Find out if your company is using Dash Enterprise.

This page applies to Dash Enterprise 5.

By default, apps, workspaces, and services have no limits on the amount of memory they can use.
They have access to the full memory of the node on which they’re located.

If you set a memory limit, it reduces the likelihood
of an app, workspace, or service consuming all memory on the node.
You can use a CLI such as htop to monitor memory usage of your app in a workspace. If you’re unsure of how much memory your app, workspace, or service is likely to consume, we recommend having no limit.

Setting an App Memory Limit

For each app, you can set a memory limit for each process that is running for the app. For example, if you have a web process running for your app and a celery process for a job queue, you’ll set their limits separately. To set a memory limit for an app process:

  1. Select the app in the app list at https://<your-dash-enterprise-server>/apps.
  2. Go to the Scale tab.
  3. Select Edit Resources beside the process you want to set a memory limit for.
  4. If Memory limit is turned off (the default), turn it on.
  5. Enter your new memory limit.
  6. Select Save.

Setting a Workspace Memory Limit

To set a memory limit for an app’s workspace:

  1. Select the app in the app list at https://<your-dash-enterprise-server>/apps.
  2. Go to the Workspace tab.
  3. In the Workspace Resources section, select Edit Resources.
  4. If Memory limit is turned off (the default), turn it on.
  5. Enter your new memory limit.
  6. Select Save.

Setting a Service Memory Limit

To set a memory limit for a Redis or Postgres service:

  1. Select the app with the service you want to set limits for in the app list at https://<your-dash-enterprise-server>/apps.
  2. Go to the Services tab.
  3. Select Edit for the service limits you want to set.
  4. If Memory limit is turned off (the default), turn it on.
  5. Enter your new memory limit.
  6. Select Save.