several ways to monitor the jvm
- see http://java.sun.com/j2se/1.5.0/docs/guide/management/overview.html
- or http://java.sun.com/developer/technicalArticles/J2SE/jconsole.html
- add -Dcom.sun.management.jmxremote to vm paras
- start /bin/jconsole
- add '-Xloggc:gc.log' to vm parameters and the file gc.log shows detail memory usage from startup
- there is many tools to analyze the file to show you figures.
1 comment:
email test
Post a Comment