Show Table of Contents
6.11. Managing the Agent JVM
6.11.1. Setting Options for the Agent JVM
The agent runs in a Java Virtual Machine, and aspects of its behavior can be defined in the
rhq-agent-env.sh file and passed to the JVM.
There are two arguments that set JVM options:
RHQ_AGENT_JAVA_OPTSresets the any of the default JVM settings.RHQ_AGENT_ADDITIONAL_JAVA_OPTSadds JVM settings without changing any of the default settings.
For more information on JVM settings, see http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp and other Sun JVM documentation.
Note
Restart the agent after making changes to the JVM settings to load the new settings.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.