Reduce Agent Memory Footprint

Topics marked with * relate to features available only in vFabric Hyperic.

This page describes options for reducing the amount of memory the Hyperic Agent uses.

Limit Plugin Loading

The best way to reduce an agent's footprint is to configure it to load only the plugins for the resource types you want to monitor. See Configure Plugin Loading for instructions.

Reduce Java Heap

To reduce the Java heap size that an Hyperic Agent allocates for itself on startup, add the agent.javaOpts property to the agent's agent.properties file. This property does not exist in agent.properties - the default behavior is equivalent to the setting shown below. You can reduce the heap from 128m to 64m.

agent.javaOpts

Description

Additional options to pass to Java.

Default

-Xmx128m -Xms128m -Djava.net.preferIPv4Stack=true

Delete Javadocs Folder

In an environment where every MB is critical, you can delete the agent's javadocs folder, agent-4.x.x/bundles/agent-4.x.x-yyyy/pdk/javadoc; note however that this reduces the agent footprint by only (approximately) 70 MB.