prima eseguire il comando:
rhc-ctl-app -a appname -c threaddump -lxxxxx@gmail.com
e poi per rivedere il threaddump:
rhc-tail-files -f appname/jbossas-7.0/stdout.log -lxxxxx@gmail.com -a appname
verrò fuori qualcosa come:
Heap
PSYoungGen total 27136K, used 22338K [0x00000000fe000000, 0x00000000fff90000, 0x0000000100000000)
eden space 22080K, 99% used [0x00000000fe000000,0x00000000ff588ad0,0x00000000ff590000)
from space 5056K, 5% used [0x00000000ffa70000,0x00000000ffab8000,0x00000000fff60000)
to space 4992K, 0% used [0x00000000ff590000,0x00000000ff590000,0x00000000ffa70000)
PSOldGen total 64896K, used 34863K [0x00000000fa000000, 0x00000000fdf60000, 0x00000000fe000000)
object space 64896K, 53% used [0x00000000fa000000,0x00000000fc20bd88,0x00000000fdf60000)
PSPermGen total 78656K, used 78637K [0x00000000f4200000, 0x00000000f8ed0000, 0x00000000fa000000)
object space 78656K, 99% used [0x00000000f4200000,0x00000000f8ecb6b8,0x00000000f8ed0000)
per capire cosa sono:
http://javandoblog.blogspot.com/2010/08/per-chi-sviluppa-in-java-prima-o-poi.html
Nessun commento:
Posta un commento