# java.xmx.absolute\_part for ActiveGate with mainly extensions v2

**URL:** <https://community.dynatrace.com/t/java-xmx-absolute-part-for-activegate-with-mainly-extensions-v2/40264>\
**Category:** Extensions\
**Tags:** activegate, extensions\
**Created:** [June 18, 2023, 6:56pm UTC](https://community.dynatrace.com/t/java-xmx-absolute-part-for-activegate-with-mainly-extensions-v2/40264 "2023-06-18T18:56:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [June 18, 2023, 6:56pm UTC](https://community.dynatrace.com/t/java-xmx-absolute-part-for-activegate-with-mainly-extensions-v2/40264/1 "2023-06-18T18:56:30Z")

</div>

I have been making some tests to get an efficient use of resources on AGs that I have that mainly do extensions v2. I have looked especially at memory, so EEC can have more memory available. I have made some changes, including:

1. Changed the performance profile of AGs to “High limits”. I didn’t change to “Dedicated limits” as I have extensions v1 also running, and documentation says we should not do it in these circumstances. But still curious if it can be done?  
[About Extensions — Dynatrace Docs](https://www.dynatrace.com/support/help/extend-dynatrace/extensions20/extensions-concepts#ag-performance-profile)

2. Restricted AG functionality according to [Dedicated performance profile configuration — Dynatrace Docs](https://www.dynatrace.com/support/help/extend-dynatrace/extensions20/dedicated-performance-profile)  
Not quite sure of the impact, as a lot of jars for these functionalities are still being loaded into the AG process.

3. I entered the lines below in launcheruserconfig.conf, according to [Configuration properties and parameters of ActiveGate — Dynatrace Docs](https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-activegate/configuration/configure-activegate)  
They really seem to make a little difference in memory consumption.  
[Configuration properties and parameters of ActiveGate — Dynatrace Docs](https://www.dynatrace.com/support/help/shortlink/sgw-configure#memory-limits)

Now, looking at the dsfm metrics for the ActiveGates, especially dsfm:active\_gate.jvm.heap\_memory\_used,&nbsp; I have noticed that it doesn’t go above 700 MB, and normally is much lower. Which makes me wonder if the java.xmx.absolute\_part can’t be defined lower than 2000?

---

<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:** [August 3, 2023, 8:03pm UTC](https://community.dynatrace.com/t/java-xmx-absolute-part-for-activegate-with-mainly-extensions-v2/40264/2 "2023-08-03T20:03:32Z")

</div>

great stuff&nbsp;[@AntonioSousa](https://community.dynatrace.com/user/17213)&nbsp;looking forward to your findings
