Extension Considerations
The exact CPU or memory overhead added by the agent can vary based on the extensions used and whether the extensions are Java. Java extensions require more heap space; the amount required depends on how you code the extension. If you start adding extensions, you should increase the maximum heap space to 256 MB or 512 MB. Additionally, you may need to increase the size of the initial memory allocation. Monitor the memory consumption of the agent to ensure that there are sufficient resources allocated to it. You can also enable Garbage Collection logging on the JVM to fine tune the heap size for the extensions.
These are example settings to increase the initial heap size:
- Linux and Unix systems:
<machine_agent_home>/bin/machine-agent -Xms64m
- Windows:
cscript <machine_agent_home>\machine-agent.vbs -Xms64m