28 Nov 2022
04:57 PM
- last edited on
30 Nov 2022
08:49 AM
by
MaciejNeumann
We recently added CPU and Memory resources to 3 synthetic AGs to change them from Small to Medium since capacity was around 100%. In the Dynatrace console it still sees 2 of them as Small and one shows as Medium. Do we need to update any configurations in the AG configs to make the console recognize and utilize the new resources ?
thanks.
-k.
Solved! Go to Solution.
28 Nov 2022 09:24 PM
Yes sir ... It seems there are configuration settings for setting a percentage of Memory to use, so I would assume that the Synth AG would grab that percentage of memory for its uses after adding the memory to the server
the settings I found are these:
-java.xmx.absolute_part
-java.xmx.relative_part
29 Nov 2022 02:27 PM - edited 29 Nov 2022 02:28 PM
You need to reinstall the ActiveGate to pick up the newly added resources.
29 Nov 2022 02:56 PM
I can't imagine that is the case. Is that 100% true? You cannot adjust the memory settings on the AGs to make the software use more memory?
29 Nov 2022 03:25 PM
You can add more memory etc but the ActiveGate only checks for the settings on install so you need to uninstall and reinstall the ActiveGate to pick up the changes. It is usually a very quick process and the only thing you will need to do after that is add the Activegate back into the location it was previously part of.
29 Nov 2022 03:44 PM
OK, thank you for the information @HannahM 👍
04 Aug 2025 07:33 PM
@HannahM does this apply to non-synthetic activegates as well?
05 Aug 2025 10:34 AM
Yesterday I did this in an AG and it seemed to catch up with the new ammount of memory.
But it would be important if @HannahM could confirm it.
06 Aug 2025 01:27 PM
@AntonioSousa yes, we did the same and it seems to have allocated additional memory to the AG process as well. thanks! 🙂
-k
14 Aug 2025 11:09 AM
Apologies, I was hoping to have a chance to test this. Our documentation for Synthetic states that you need to reinstall the Synthetic module to take advantage of the new resources; however, for other AG types, I believe it is, as you say, that the AG can use them without a reinstall. I would expect a restart of the services to be sufficient.
14 Aug 2025 12:19 PM
No worries. We added the memory and CPU and restarted and it grabbed them. Thanks for checkin back in! 🙂
14 Aug 2025 12:12 PM - edited 14 Aug 2025 12:22 PM
The action required after a RAM upgrade depends on whether the change affects the ActiveGate’s memory allocation or heap tier. From my understanding, these are the common actions.
Type | RAM Change | Same Allocation? | Action | Why? |
Non-Synthetic | 16GB → 32GB | Yes | Restart | Memory % stays at 65%, restart applies new allocation |
Non-Synthetic | 8GB → 16GB | No | Reinstall/Update | Moves from 60% to 65% allocation, only set at install |
Non-Synthetic | 4GB → 8GB | No | Reinstall/Update | Moves from 55% to 60% allocation, only set at install |
Non-Synthetic | 4GB → 16GB | No | Reinstall/Update | Moves from 55% to 65% allocation, only set at install |
Synthetic | 16GB → 32GB | Yes | Restart | Heap size stays, restart applies new RAM |
Synthetic | 8GB → 16GB | No | Reinstall/Update | Heap size changes, only set at install |
Synthetic | 4GB → 8GB | No | Reinstall/Update | Heap size changes, only set at install |
Synthetic | 4GB → 16GB | No | Reinstall/Update | Heap size changes, only set at install |
14 Aug 2025 12:20 PM
@sia_h thank you. That's a great chart to use as reference!
14 Aug 2025 03:35 PM - edited 14 Aug 2025 03:35 PM
@sia_h ,
While this is a great chart, it doesn't make much sense!
It today's world, having to do a reinstall so that a program can use more memory, is quite frankly, to put it easy, unexplainable! While I understand they are Java processes and cannot do it in runtime, requiring a restart should be the maximum here.
And, btw, if I go from 32GB to 8 GB, what is needed? An uninstall?