# How to calculate disk space requirements for oneagent upgrades

**URL:** <https://community.dynatrace.com/t/how-to-calculate-disk-space-requirements-for-oneagent-upgrades/40694>\
**Category:** Troubleshooting\
**Tags:** linux, aix, oneagent\
**Created:** [July 14, 2023, 7:19am UTC](https://community.dynatrace.com/t/how-to-calculate-disk-space-requirements-for-oneagent-upgrades/40694 "2023-07-14T07:19:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nadeem\_m](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/nadeem_m/32/18048_2.png) [@nadeem\_m](https://community.dynatrace.com/u/nadeem_m)\
**Post date:** [July 14, 2023, 7:19am UTC](https://community.dynatrace.com/t/how-to-calculate-disk-space-requirements-for-oneagent-upgrades/40694/1 "2023-07-14T07:19:10Z")

</div>

The following steps will help clarify disk space requirements for oneagent upgrades.

This is how you can calculate disk space requirement for upgrades of oneagent in case your personal use case does not match the documentation provided on Dynatrace public documentation on disk space requirements.

_Please note that due to the code change and improvements, the installer file size will change more or less each time a new version is available._

**Start** with the “ **installer file size** ” for next upgrade.

Let us take it for example: 80 MiB (The installer file that has been downloaded)

“ **Size of the installation process** ” will be= 3 \* ‘Installer file size’ + 360 = 3\*80 + 360 = 600

_(here 360 is the **size of installation** (with temporary installation files removed)_

Additional space required for upgrade is calculated as:

(“installer file size” + “size of the installation process”) \* 1.1 = (80+600) \* 1.1 = 748

You can add extra ~ 10-12 MB to be on the safe side.

Now, for a problem free upgrade you will need around ~ 760 MiB

Please note the difference between “_installer file size_”, “_size of installation_”, and “_size of installation process_”.

Please get in touch with Dynatrace Support in case you have any more questions. Thanks!

---

<div class="post-metadata">

**Author:** ![radek\_jasinski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radek_jasinski/32/10432_2.png) [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Post date:** [July 14, 2023, 7:40am UTC](https://community.dynatrace.com/t/how-to-calculate-disk-space-requirements-for-oneagent-upgrades/40694/2 "2023-07-14T07:40:01Z")

</div>

it will be very useful 😉
