garbage collection - Request : Analyse GC Offline using Tool -


for strong reason, not have access our jvm based web - app servers when running live production , way task of monitoring activity offline only.

hence or our-moron-team cannot monitor jvm based gc irregular memory usage.

hence ask experts there way using jre based settings setup during initial startup.

this settings have write log file on hourly basis.

this log file analyzed offline using tool visual jvm , know reason of crash / irregularity behavior charts provided.

can body me jvm settings.

with regards karthik

garbage collection activity

you need activate gc logs using following jvm options : -xloggc:/path/to/logfile/gc.log -xx:+printgcdetails -xx:+printgctimestamps.

then can use tools such gcviewer (free, open-source), hpjmeter (free) or jclarity censum (commercial) analyse logfile afterwards.

thread dumps

you can use visualvm using tda (thread dump analyzer) plugin. tda available standalone application if want visualize thread dumps afterwards.

heap dumps

you can use jhat (standard tool) of eclipse memory analyzer visualize memory dump.

what memory leaks

if have long-running gc log, can give censum tell if application suffer memory leak. once have first information, can take snapshot , analyze them using eclipse mat or netbeans profiler find out objects leaking.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -