# zip files in tmp collection

**URL:** <https://discourse.orthanc-server.org/t/zip-files-in-tmp-collection/2266>\
**Category:** Google Groups archive\
**Created:** [January 14, 2021, 8:39am UTC](https://discourse.orthanc-server.org/t/zip-files-in-tmp-collection/2266 "2021-01-14T08:39:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jacopo\_De\_Luca1](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/j/65b543/32.png) [@Jacopo\_De\_Luca1](https://discourse.orthanc-server.org/u/Jacopo_De_Luca1)\
**Post date:** [January 14, 2021, 8:39am UTC](https://discourse.orthanc-server.org/t/zip-files-in-tmp-collection/2266/1 "2021-01-14T08:39:55Z")

</div>

Hello to everyone

I’m not able to resolve an issue with tmp folder: when I download a study, corresponding zip is correctly generated in tmp, but I need a limitation in order to avoid disk filling.

I use:

- docker osimis/orthanc:20.9.5
- fs index
- asynchronous mode for CMove
- JobHistorySize: 5
- MediaArchiveSize: 5

I have several test servers with same configuration and I’m noting that

- in some of them, tmp zip collection is limited to 5
- in others, tmp zip collection is not limited

I don’t know why. I think that when Orthanc falls in error (e.g. OutOfMemory, I’ve to fix this) and docker restarts the service (more precisely the container), some options on json like zip limitation does not work properly.

Could someone help me?

Thank you

Jacopo

---

<div class="post-metadata">

**Author:** ![jodogne](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/jodogne/32/1511_2.png) [@jodogne](https://discourse.orthanc-server.org/u/jodogne)\
**Post date:** [January 14, 2021, 2:49pm UTC](https://discourse.orthanc-server.org/t/zip-files-in-tmp-collection/2266/2 "2021-01-14T14:49:40Z")

</div>

Blocking this new thread, as you have posted the same message in another thread that is still in discussion:  
[https://groups.google.com/g/orthanc-users/c/tpP2fkRAd9o/m/5SGpEHbGCQAJ](https://groups.google.com/g/orthanc-users/c/tpP2fkRAd9o/m/5SGpEHbGCQAJ)

Be patient. We don’t have infinite bandwidth.
