# Orthanc Config - MaximumStorage Question

**URL:** https://discourse.orthanc-server.org/t/orthanc-config-maximumstorage-question/2388
**Category:** Google Groups archive
**Created:** [April 13, 2021, 4:58am UTC](https://discourse.orthanc-server.org/t/orthanc-config-maximumstorage-question/2388 "2021-04-13T04:58:43Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Johnny\_Blaze](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/j/f19dbf/32.png) [@Johnny\_Blaze](https://discourse.orthanc-server.org/u/Johnny_Blaze)
#### Post date: [April 13, 2021, 4:58am UTC](https://discourse.orthanc-server.org/t/orthanc-config-maximumstorage-question/2388/1 "2021-04-13T04:58:43Z")

</div>

Hi all,

When MaximumStorage (e.g set to 100000MB) has been met, how does Orthanc decide what studies to delete to free up space for new studies to come in?

---

<div class="post-metadata">

### Author: ![James\_Manners](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/j/a9adbd/32.png) [@James\_Manners](https://discourse.orthanc-server.org/u/James_Manners)
#### Post date: [April 13, 2021, 5:22am UTC](https://discourse.orthanc-server.org/t/orthanc-config-maximumstorage-question/2388/2 "2021-04-13T05:22:43Z")

</div>

Hi,

This is summarised here - [https://book.orthanc-server.com/faq/features.html#recycling-protection](https://book.orthanc-server.com/faq/features.html#recycling-protection)

In short, Orthanc tracks when each patient last received an instance and keeps a Recycling Order. When it comes time to free space, Orthanc will delete the oldest patients.

HTH.

James
