High memory usage or OutOfMemoryException in JON Agent JBoss AS 5 plug-in

Solution Verified - Updated -


  • Experiencing very high memory usage (up to 3Gb) on agents
  • Receive java.lang.OutOfMemoryError: Java heap space when shutting down agent
  • Monitoring or managing EJBs requires a 2 MB to 10 MB memory footprint for each EJB


  • JBoss Operations Network (JON) 2.4.1, 2.4.2, 3.0
  • JBoss Enterprise Application Platform (EAP) 5, 5.1, 5.1.1, 5.1.2
  • JBoss AS 5 Plug-in
  • Many (50 or more) Managed Component resources such as EJB2, EJB3, WAR, EAR, etc

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.