Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to monitor java heap memory usage in jboss eap production server

I need to monitor java heap memory usage in my production server JBOSS EAP and web server nginx in order to avoid OutofMemory Error. Please suggest

like image 361
Aaruhi Avatar asked Jan 18 '26 11:01

Aaruhi


1 Answers

You can use Jboss CLI to check JVM memory details,

  • Connect to the JBoss using CLI:

./jboss-cli.sh -c --controller=localhost:9999

  • Getting the JVM Memory details:

/core-service=platform-mbean/type=memory/:read-resource(recursive=true,proxies=true,include-runtime=true,include-defaults=true)

Or you can use JBoss management console,

  • Go to Runtime tab
  • Select JVM from Sytem status

Or you can use JConsole

like image 83
user3445017 Avatar answered Jan 21 '26 06:01

user3445017