Data storage and memory
As you produce more notebooks and environments in Anaconda Notebooks, you may begin to run out of storage and find that processes slow down. This topic explains how data storage and memory usage work in Anaconda Notebooks and provides instructions to resolve these issues.
Anaconda Notebooks provides varying levels of cloud storage and CPU “high-compute” seconds based on your Anaconda tier level.
Capabilities | Free | Starter | Pro*/Business | Enterprise |
---|---|---|---|---|
Fast, backed-up SSD storage | 5GB | 10GB | 20GB | Unlimited |
CPU seconds (daily) | 1,000 | 8,000 | 20,000 | Unlimited |
* Pro is a legacy tier no longer available for purchase.
Data storage
You can monitor your available cloud storage space with the Disk Usage meter at the top of the screen. If you’re maxing out your storage space, the most likely culprits are custom environments, which are all the environments you see in the Disk Manager. To gain more storage, delete these environments (and optionally download them for later use) or upgrade your subscription.
Managing disk usage
You can view and manage all your files by clicking anywhere on the Disk Usage meter to open the Disk Manager:
- Clear Cache: Anaconda recommends clearing your cache on a regular basis to save on space.
- Reset…: Restores all selected items to their default state. Select Download items before deleting to ensure you don’t lose valuable work.
- Download: Downloads selected files. Consider downloading valuable files before deleting.
- Delete: Deletes selected files.
- File Name: Hovering over the File Name column header exposes a filter tool to further sort through your files. Clicking File Name orders (and reverses the order of) files alphabetically.
- Size: Clicking Size orders (and reverses the order of) files by size.
Clear Cache
Anaconda recommends clearing your cache on a regular basis to save on space.
Reset…
Restores all selected items to their default state. Select Download items before deleting to ensure you don’t lose valuable work.
Download
Downloads selected files. Consider downloading valuable files before deleting.
Delete
Deletes selected files.
File Name
Hovering over the File Name column header exposes a filter tool to further sort through your files. Clicking File Name orders (and reverses the order of) files alphabetically.
Size
Clicking Size orders (and reverses the order of) files by size.
Removing custom environments
Creating custom environments consumes a large amount of storage. Free tier users are recommended to avoid complex environment building and to limit this to one environment at a time. Upgrade to work with more custom environments.
-
In a terminal within Anaconda Notebooks, run
conda env list
and see if there are any environments NOT in/opt/conda
. -
If there are, you can remove those unwanted environments in the Disk Manager as shown in the previous section, or by running:
-
Further, clear out the cache and other artifacts by clicking Clear Cache in the Disk Manager as shown in the previous section, or by running:
Memory
If your notebook is running slowly, you may have exceeded your CPU usage limit for the day. You will still be able to work when this happens, but the performance will be affected (for example, loading a .csv
file with Pandas may take 10 seconds instead of half a second). The limit resets daily.
Anaconda Notebooks limits processes to 6GB of RAM per kernel. Exceeding this limit terminates your process, at which point you will need to restart your kernel. If you need to run larger processes, please contact us at [email protected].
To see current progress towards your daily quota, refer to the CPU Usage widget at the top of Anaconda Notebooks.
To better manage your CPU usage, regularly check the Running Terminals and Kernels tab in the left sidebar and shut down unnecessary kernels when you no longer need them.
Was this page helpful?