# Memory dump storage location on LINUX

**URL:** <https://community.dynatrace.com/t/memory-dump-storage-location-on-linux/20757>\
**Category:** Open Q&A\
**Tags:** oneagent, profiling-and-optimization\
**Created:** [November 6, 2020, 5:54pm UTC](https://community.dynatrace.com/t/memory-dump-storage-location-on-linux/20757 "2020-11-06T17:54:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeff\_rowell](https://avatars.discourse-cdn.com/v4/letter/j/779978/32.png) [@jeff\_rowell](https://community.dynatrace.com/u/jeff_rowell)\
**Post date:** [November 6, 2020, 5:54pm UTC](https://community.dynatrace.com/t/memory-dump-storage-location-on-linux/20757/1 "2020-11-06T17:54:18Z")

</div>

One of our monitoring users has complained that memory dumps are being stored to /var/log/oneagent/memorydump/ rather than to a directory under the location to which we installed the agent. I.e., we installed to =/app/dynatrace/ and it was expected that the memory dump files would be stored there… In other posts I have seen the comment that “the path to memorydumps is dependent on installation folder”… apparently that is no longer true, or at any rate not true for LINUX installations.

Can somebody tell me:

1. Is there any way to change the location to which the memory dumps are stored on LINUX?

2. What is the reason that the files are placed inder /var/log and not under the installation location?

---

<div class="post-metadata">

**Author:** ![kalle\_lahtinen](https://avatars.discourse-cdn.com/v4/letter/k/bb73d2/32.png) [@kalle\_lahtinen](https://community.dynatrace.com/u/kalle_lahtinen)\
**Post date:** [November 6, 2020, 7:53pm UTC](https://community.dynatrace.com/t/memory-dump-storage-location-on-linux/20757/2 "2020-11-06T19:53:42Z")

</div>

Hi,

Could your observation be related to this change?

> **[Dynatrace OneAgent](https://www.dynatrace.com/platform/oneagent/)**
>
> Experience end-to-end data collection from OneAgent from Dynatrace. Never need another application stack monitoring tool again.

Br,

Kalle

---

<div class="post-metadata">

**Author:** ![jaroslaw\_orlows](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jaroslaw_orlows/32/29074_2.png) [@jaroslaw\_orlows](https://community.dynatrace.com/u/jaroslaw_orlows)\
**Post date:** [November 9, 2020, 8:21am UTC](https://community.dynatrace.com/t/memory-dump-storage-location-on-linux/20757/3 "2020-11-09T08:21:31Z")

</div>

Hello! Since OneAgent 1.199, you can control it with the DATA\_STORAGE parameter. See [Customize OneAgent installation on Linux — Dynatrace Docs](https://www.dynatrace.com/support/help/shortlink/linux-custom-installation#data-storage)

---

<div class="post-metadata">

**Author:** ![skrystosik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/skrystosik/32/21133_2.png) [@skrystosik](https://community.dynatrace.com/u/skrystosik)\
**Post date:** [December 14, 2022, 2:17pm UTC](https://community.dynatrace.com/t/memory-dump-storage-location-on-linux/20757/4 "2022-12-14T14:17:08Z")

</div>

Is there any option to use the same on K8s linux PODS?
