> ## Documentation Index
> Fetch the complete documentation index at: https://anaconda.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Data storage and memory

export const Comments = ({children}) => {
  return <div class="my-4 px-5 py-4 overflow-hidden rounded-2xl flex gap-3 border border-zinc-500/20 bg-zinc-50/50 dark:border-zinc-500/30 dark:bg-zinc-500/10" data-callout-type="comments">
      <div class="w-4">
        <svg width="14" height="14" viewBox="0 0 640 640" fill="currentColor" xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" aria-label="Comments">
            <path d="M320 112C434.9 112 528 205.1 528 320C528 434.9 434.9 528 320 528C205.1 528 112 434.9 112 320C112 205.1 205.1 112 320 112zM320 576C461.4 576 576 461.4 576 320C576 178.6 461.4 64 320 64C178.6 64 64 178.6 64 320C64 461.4 178.6 576 320 576zM280 400C266.7 400 256 410.7 256 424C256 437.3 266.7 448 280 448L360 448C373.3 448 384 437.3 384 424C384 410.7 373.3 400 360 400L352 400L352 312C352 298.7 341.3 288 328 288L280 288C266.7 288 256 298.7 256 312C256 325.3 266.7 336 280 336L304 336L304 400L280 400zM320 256C337.7 256 352 241.7 352 224C352 206.3 337.7 192 320 192C302.3 192 288 206.3 288 224C288 241.7 302.3 256 320 256z" />
        </svg>
      </div>
      <div class="text-sm prose min-w-0 w-full">
        {children}
      </div>
    </div>;
};

export const TroubleshootSolution = ({children}) => <>
    <hr className="my-3 w-full" />
    <details className="mt-3">
      <summary className="cursor-pointer font-semibold text-base mb-1">
        Solution
      </summary>
      <div className="mt-2 ml-4" data-component-part="step-content">
        {children}
      </div>
    </details>
  </>;

export const TroubleshootCause = ({children}) => <details className="mt-3 mb-2">
    <summary className="cursor-pointer font-semibold text-base mb-1">
      Cause
    </summary>
    <div className="mt-2 ml-4" data-component-part="step-content">
      {children}
    </div>
  </details>;

export const TroubleshootTitle = ({children}) => <>
    <p className="m-0 font-semibold text-xl leading-tight mb-2" role="heading" aria-level={3}>
      {children}
    </p>
    <hr className="my-3 w-full" />
  </>;

export const Troubleshoot = ({children}) => <div className="callout my-4 px-5 py-4 overflow-hidden rounded-2xl flex gap-3 border troubleshoot-admonition dark:troubleshoot-admonition" data-callout-type="troubleshoot">
    <div className="mt-0.5 w-4">
      <svg width="14" height="14" viewBox="0 0 640 640" fill="currentColor" className="w-4 h-4" aria-label="Troubleshoot">
        <path d="M541.4 162.6C549 155 561.7 156.9 565.5 166.9C572.3 184.6 576 203.9 576 224C576 312.4 504.4 384 416 384C398.5 384 381.6 381.2 365.8 376L178.9 562.9C150.8 591 105.2 591 77.1 562.9C49 534.8 49 489.2 77.1 461.1L264 274.2C258.8 258.4 256 241.6 256 224C256 135.6 327.6 64 416 64C436.1 64 455.4 67.7 473.1 74.5C483.1 78.3 484.9 91 477.4 98.6L388.7 187.3C385.7 190.3 384 194.4 384 198.6L384 240C384 248.8 391.2 256 400 256L441.4 256C445.6 256 449.7 254.3 452.7 251.3L541.4 162.6z" />
      </svg>
    </div>
    <div className="prose min-w-0 w-full">{children}</div>
  </div>;

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 subscription plan. See our [pricing page](https://www.anaconda.com/pricing) for further details.

<Accordion title="What is a high-compute second?">
  A CPU second is one second of running code on a single CPU core at 100%. We refer to CPU seconds as "high-compute seconds" on our pricing page to clearly distinguish CPU seconds from real-world seconds. Simply running JupyterLab, writing code, and using the interface doesn't really use up your quota (though it has a small impact). Only running Python code from within a notebook and running commands from the terminal counts against your quota, and even then most command functions don't heavily use the CPU.

  For example, if your code makes an HTTP request, it will use a tiny amount of CPU time assembling the request and sending it out over the network, but will use no CPU at all while it's waiting for a response. When the response comes back from the other end, it will again use a small amount of CPU to interpret the response and provide your code with the results. So, in general, CPU time is only used while your program is actively making calculations, not while it is waiting for other systems.

  **When does the clock on CPU seconds reset?**

  Our notebook service accounts have a per-day limit for the maximum number of seconds fully utilizing the CPU. Once an instance hits that limit, it is not shut down, but instead given lower CPU priority and a limit to the amount of compute resources available. This limit is reset every day, so full compute access will be restored the next day.
</Accordion>

## 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 custom environments (and optionally download them for later use) or upgrade your subscription.

<Frame>
  <img src="https://mintcdn.com/anaconda-29683c67/q5KdI2mr6ZKMYRZp/images/notebook_disk_usage_meter.png?fit=max&auto=format&n=q5KdI2mr6ZKMYRZp&q=85&s=196cc18e4fc029344fb7a3d8f26f1550" alt="" width="1922" height="972" data-path="images/notebook_disk_usage_meter.png" />
</Frame>

<Accordion title="What kind of storage does Anaconda Notebooks use?">
  Anaconda Notebooks uses persistent Elastic Block Store (EBS) storage: a fast, backed-up, SSD storage that supports common data science and machine learning workloads. EBS storage is generally faster and more reliable than most cloud-hosted options.
</Accordion>

### Managing disk usage

You can view and manage all your files by clicking anywhere on the **Disk Usage** meter to open the Disk Manager:

<Frame>
  <img src="https://mintcdn.com/anaconda-29683c67/suT8p96bcArryiKX/images/notebook_disk_usage_dialog.png?fit=max&auto=format&n=suT8p96bcArryiKX&q=85&s=caaea80e9869507be3b603a363aa52ce" alt="" width="948" height="792" data-path="images/notebook_disk_usage_dialog.png" />
</Frame>

<Steps>
  <Step title="Clear Cache">
    Anaconda recommends clearing your cache on a regular basis to save on space.
  </Step>

  <Step title="Reset…">
    Restores all selected items to their default state. Select <b>Download items before deleting</b> to ensure you don't lose valuable work.
  </Step>

  <Step title="Download">
    Downloads selected files. Consider downloading valuable files before deleting.
  </Step>

  <Step title="Delete">
    Deletes selected files.
  </Step>

  <Step title="File Name">
    Hovering over the <b>File Name</b> column header exposes a filter tool to further sort through your files. Clicking <b>File Name</b> orders (and reverses the order of) files alphabetically.
  </Step>

  <Step title="Size">
    Clicking <b>Size</b> orders (and reverses the order of) files by size.
  </Step>
</Steps>

### Removing custom environments

<Warning>
  Creating custom environments consumes a large amount of storage. Free plan 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.
</Warning>

1. In a terminal within Anaconda Notebooks, run `conda env list` and see if there are any environments *NOT* in `/opt/conda`.

2. If there are, you can remove those unwanted environments in the Disk Manager as shown in the previous section, or by running:

   ```sh theme={null}
   conda env remove --name <ENV_NAME>
   ```

   <Comments>
     Replace \<ENV\_NAME> with the environment name.
   </Comments>

3. 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:

   ```sh theme={null}
   conda clean --all
   pip cache purge
   rm -rf /tmp/*
   ```

## Memory

If your notebook is running slowly, you might 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 [sales@anaconda.com](mailto:sales@anaconda.com).

To see current progress towards your daily quota, refer to the **CPU Usage** widget at the top of Anaconda Notebooks.

<Frame>
  <img src="https://mintcdn.com/anaconda-29683c67/q5KdI2mr6ZKMYRZp/images/notebook_cpu_usage.png?fit=max&auto=format&n=q5KdI2mr6ZKMYRZp&q=85&s=acc72260dd3552a8807ee5f524fbcd70" alt="" width="1920" height="970" data-path="images/notebook_cpu_usage.png" />
</Frame>

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.

<Frame>
  <img src="https://mintcdn.com/anaconda-29683c67/q5KdI2mr6ZKMYRZp/images/nucleus-notebook-term-n-kern.png?fit=max&auto=format&n=q5KdI2mr6ZKMYRZp&q=85&s=f8ba10eb838b4494f8d54e49c0d19f49" alt="" width="1624" height="784" data-path="images/nucleus-notebook-term-n-kern.png" />
</Frame>

You can also completely reset ("factory reset") your instance of Anaconda Notebooks. To perform a reset, click anywhere on the **Disk Usage** meter to open the **Manage Disk Usage** dialog, then click **Reset...**.

## Troubleshooting

<Troubleshoot>
  <TroubleshootTitle>
    ### All CPU seconds have been used up in Notebooks
  </TroubleshootTitle>

  <TroubleshootCause>
    You've used up all your available CPU seconds.
  </TroubleshootCause>

  <TroubleshootSolution>
    CPU seconds are consumed by active runtimes, which can continue to run in the background even after you've logged out of Notebooks or switched to a different browser tab.<br /><br />

    To prevent your CPU seconds from being used while you are not actively using Notebooks, make sure you shut down all runtimes in all open instances of Notebooks before logging off for the day. You can do this from the <Icon icon="circle-stop" iconType="solid" /> **Running Terminals and Kernels** tab:<br /><br />

    <Frame>
      <img src="https://mintcdn.com/anaconda-29683c67/suT8p96bcArryiKX/images/notebook_shutdown_kernel.png?fit=max&auto=format&n=suT8p96bcArryiKX&q=85&s=1453d278be2e3881bfcfb07a4b1e97de" alt="" width="3460" height="1540" data-path="images/notebook_shutdown_kernel.png" />
    </Frame>

    <br />

    If the problem persists, please raise the issue in the [Anaconda community forums](https://forum.anaconda.com) or [file a support ticket](https://support.anaconda.com/hc/en-us/requests/new?ticket_form_id=360000993773).<br /><br />

    You can upgrade your subscription plan to access additional CPU seconds. See our [pricing page](https://www.anaconda.com/pricing) for further details.
  </TroubleshootSolution>
</Troubleshoot>

<Troubleshoot>
  <TroubleshootTitle>
    ### "File load error," "unhandled error," or "unexpected error" message
  </TroubleshootTitle>

  <TroubleshootCause>
    If you receive a "file load error," "unhandled error," or "unexpected error," like in the following figure, you have most likely exceeded the storage space for your current plan.<br /><br />

    <Frame>
      <img src="https://mintcdn.com/anaconda-29683c67/q5KdI2mr6ZKMYRZp/images/notebook-quota-error.png?fit=max&auto=format&n=q5KdI2mr6ZKMYRZp&q=85&s=9beaf78e21e942a9d7d679d122f85b05" alt="" width="1022" height="410" data-path="images/notebook-quota-error.png" />
    </Frame>
  </TroubleshootCause>

  <TroubleshootSolution>
    Follow the steps in the storage question above to remove items from your Notebooks instance, or upgrade to a higher subscription plan.
  </TroubleshootSolution>
</Troubleshoot>
