How to monitor Java memory usage of heap/permanent generation and gc activities

Solution Verified - Updated -


  • Is there some way to monitor JBoss perm gen memory. Is there a way to output the information to a log file?
  • How to monitor Java heap and perm memory usage by using command line tool?
  • How to configure JBoss to send an alert when the PS-OLD-Gen memory space reaches a certain amount?
  • We need to monitor the java heap while the app is running. what is the best way to do this?


  • Red Hat JBoss Enterprise Application Platform (EAP)
    • All Versions
  • Java
    • OpenJDK
    • Sun/Oracle JDK

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content