# The purpose of swapoff

**URL:** <https://community.dynatrace.com/t/the-purpose-of-swapoff/6434>\
**Category:** Dynatrace Managed\
**Tags:** dynatrace-managed\
**Created:** [June 8, 2017, 10:05am UTC](https://community.dynatrace.com/t/the-purpose-of-swapoff/6434 "2017-06-08T10:05:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![henk\_stobbe](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/henk_stobbe/32/30434_2.png) [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Post date:** [June 8, 2017, 10:05am UTC](https://community.dynatrace.com/t/the-purpose-of-swapoff/6434/1 "2017-06-08T10:05:35Z")

</div>

Why the swapoff? Most experts agree that having no swap is not a good idea. You waste memory and when memory is filled your system crashes. So why this decision wasting lost of buffer space,

KR Henk

---

<div class="post-metadata">

**Author:** ![michael\_kopp](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/michael_kopp/32/13415_2.png) [@michael\_kopp](https://community.dynatrace.com/u/michael_kopp)\
**Post date:** [June 9, 2017, 8:45am UTC](https://community.dynatrace.com/t/the-purpose-of-swapoff/6434/2 "2017-06-09T08:45:39Z")

</div>

I assume this is for managed? Actually most Java exports would agree that swapping is a very bad idea for Java processes and recommend to turn off swap on a system that runs java.

Java accesses its memory in a “throughput” fashion, meaning there is very little that can be swapped out that is not needed soon after.

---

<div class="post-metadata">

**Author:** ![henk\_stobbe](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/henk_stobbe/32/30434_2.png) [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Post date:** [June 9, 2017, 9:01am UTC](https://community.dynatrace.com/t/the-purpose-of-swapoff/6434/3 "2017-06-09T09:01:42Z")

</div>

Hi Michael,

Yes this is for managed, thx!

KR Henk
