[jboss-user] [Performance Tuning] - Re: How Can I monitoring java heap with jstat?

Nikhil Mone do-not-reply at jboss.com
Tue Nov 27 13:02:43 EST 2012


Nikhil Mone [https://community.jboss.org/people/nikhilmone] created the discussion

"Re: How Can I monitoring java heap with jstat?"

To view the discussion, visit: https://community.jboss.org/message/778673#778673

--------------------------------------------------------------
You can also try below command that gives you detail of entire memory usage :

=========================================
$ jmap -heap <Proces ID of your JVM>
Attaching to process ID 29696, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 20.6-b01

using thread-local object allocation.
Parallel GC with 4 thread(s)

Heap Configuration:
   MinHeapFreeRatio = 40
   MaxHeapFreeRatio = 70
   MaxHeapSize      = 1367343104 (1304.0MB)
   NewSize          = 1310720 (1.25MB)
   MaxNewSize       = 17592186044415 MB
   OldSize          = 5439488 (5.1875MB)
   NewRatio         = 2
   SurvivorRatio    = 8
   PermSize         = 21757952 (20.75MB)
   MaxPermSize      = 268435456 (256.0MB)

Heap Usage:
PS Young Generation
Eden Space:
   capacity = 341966848 (326.125MB)
   used     = 298634744 (284.80028533935547MB)
   free     = 43332104 (41.32471466064453MB)
   87.32856583805457% used
>From Space:
   capacity = 56885248 (54.25MB)
   used     = 56854136 (54.22032928466797MB)
   free     = 31112 (0.02967071533203125MB)
   99.94530743717598% used
To Space:
   capacity = 56885248 (54.25MB)
   used     = 0 (0.0MB)
   free     = 56885248 (54.25MB)
   0.0% used
PS Old Generation
   capacity = 910884864 (868.6875MB)
   used     = 71342136 (68.03716278076172MB)
   free     = 839542728 (800.6503372192383MB)
   7.832179325794572% used
PS Perm Generation
   capacity = 71303168 (68.0MB)
   used     = 71145280 (67.84942626953125MB)
   free     = 157888 (0.15057373046875MB)
   99.77856804342831% used
=========================================
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/778673#778673]

Start a new discussion in Performance Tuning at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2078]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121127/29774cd2/attachment.html 


More information about the jboss-user mailing list