# Fix my GC and Memory Saturation Problem

**URL:** <https://community.dynatrace.com/t/fix-my-gc-and-memory-saturation-problem/11746>\
**Category:** Open Q&A\
**Tags:** iis\
**Created:** [May 14, 2018, 8:04pm UTC](https://community.dynatrace.com/t/fix-my-gc-and-memory-saturation-problem/11746 "2018-05-14T20:04:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rpichardo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/rpichardo/32/23032_2.png) [@rpichardo](https://community.dynatrace.com/u/rpichardo)\
**Post date:** [May 14, 2018, 8:04pm UTC](https://community.dynatrace.com/t/fix-my-gc-and-memory-saturation-problem/11746/1 "2018-05-14T20:04:16Z")

</div>

Hello everyone!

we have a problem documented as:

Process **IIS app pool namehere**

**Long garbage-collection time**

Garbage collection is suspending process IIS app pool namehere on host hostnamehere

Root cause: ESXi Host namehere

**Memory saturation**

Memory is swapped in at a rate of 6.4 MB/sec

Host **nameheretoo**

**Memory saturation**

Memory is swapped in at a rate of 6.3 MB/sec

---now my cuestions: how we can fix this? what else can we do now that we have dynatrace pointing this type of trouble? our developer ask about HOW TO FIX IT? saying if this is an IIS tweaking thing?

what else can we do to help this type of problem be fixed or proactively fixed?

tyvm in advance for your concern

RKPO

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [March 14, 2020, 3:51am UTC](https://community.dynatrace.com/t/fix-my-gc-and-memory-saturation-problem/11746/2 "2020-03-14T03:51:30Z")

</div>

[@Robert P.](https://answers.dynatrace.com/users/21183/view.html) we had the same issue, we had to work with the dev team to figure out the sweet spot for the garbage collection, how often it runs, the max load before it runs and the duration, Its alot like CPU wait time with VMware, You want to find that sweet spot where you have enough CPUs for the host but dont have too much where it is waiting for CPU to become available
