# memory dump local path

**URL:** <https://community.dynatrace.com/t/memory-dump-local-path/10766>\
**Category:** Open Q&A\
**Tags:** profiling-and-optimization\
**Created:** [January 30, 2018, 12:42pm UTC](https://community.dynatrace.com/t/memory-dump-local-path/10766 "2018-01-30T12:42:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yosi\_Neuman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/yosi_neuman/32/9845_2.png) [@Yosi\_Neuman](https://community.dynatrace.com/u/Yosi_Neuman)\
**Post date:** [January 30, 2018, 12:42pm UTC](https://community.dynatrace.com/t/memory-dump-local-path/10766/1 "2018-01-30T12:42:01Z")

</div>

Hi guys,

Prospect asks if there is a way to direct the dump file on the local machine to different path then c:\ (in his case window machine) and also if after the dump file is copied to the SGW can it be delete automatically from the local machine?

Thanks in advance

Yos

---

<div class="post-metadata">

**Author:** ![Lukasz\_Wrona](https://avatars.discourse-cdn.com/v4/letter/l/aca169/32.png) [@Lukasz\_Wrona](https://community.dynatrace.com/u/Lukasz_Wrona)\
**Post date:** [February 1, 2018, 4:10pm UTC](https://community.dynatrace.com/t/memory-dump-local-path/10766/2 "2018-02-01T16:10:09Z")

</div>

In current version, the path to memorydumps is dependent on installation folder. So the customer may change the location, by changing the whole installation folder for OneAgent. Please note however, there may be some changes in this area in upcoming releases.

The memorydump files currently use the standard file aging rules, meaning they will be deleted after 7 days (configurable) or after their count exceeds 10 (configurable). The feature to delete memory dumps immediately after they are sent was discussed in the past and may be added in future versions of the product. Thanks for letting us know, that customers (or at least one potential customer) is interested in that.

---

<div class="post-metadata">

**Author:** ![Yosi\_Neuman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/yosi_neuman/32/9845_2.png) [@Yosi\_Neuman](https://community.dynatrace.com/u/Yosi_Neuman)\
**Post date:** [February 1, 2018, 7:13pm UTC](https://community.dynatrace.com/t/memory-dump-local-path/10766/3 "2018-02-01T19:13:37Z")

</div>

Hi Lukasz,

Thanks for your detailed answer!

Hope to see this prospect as customer very soon

Yos

---

<div class="post-metadata">

**Author:** ![tim\_gerlach](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/tim_gerlach/32/18295_2.png) [@tim\_gerlach](https://community.dynatrace.com/u/tim_gerlach)\
**Post date:** [November 17, 2020, 7:49am UTC](https://community.dynatrace.com/t/memory-dump-local-path/10766/4 "2020-11-17T07:49:42Z")

</div>

Any updated since 2018? Is there any chance to overwrite the default heap dump path?

---

<div class="post-metadata">

**Author:** ![avdveen](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@avdveen](https://community.dynatrace.com/u/avdveen)\
**Post date:** [January 29, 2021, 11:43am UTC](https://community.dynatrace.com/t/memory-dump-local-path/10766/5 "2021-01-29T11:43:57Z")

</div>

You can, since OneAgent version 1.199, have a different data storage path yes - valid for [Windows](https://www.dynatrace.com/support/help/shortlink/windows-custom-installation#data-storage), [Linux](https://www.dynatrace.com/support/help/shortlink/linux-custom-installation#data-storage) and [AIX](https://www.dynatrace.com/support/help/shortlink/aix-custom-installation#data-storage) agents.

---

<div class="post-metadata">

**Author:** ![Malaik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/malaik/32/32673_2.png) [@Malaik](https://community.dynatrace.com/u/Malaik)\
**Post date:** [May 3, 2023, 11:02am UTC](https://community.dynatrace.com/t/memory-dump-local-path/10766/6 "2023-05-03T11:02:09Z")

</div>

Hello Guys,

Did you know if there is a possibility now to change the path without changing all the oneagent path as said above?

Im facing an issue when enabling the dump that the storage is not sufficient.

Thanks
