Tuesday, April 17, 2007

Troubleshooting Memory Leaks

http://java.sun.com/javase/6/webnotes/trouble/TSG-VM/html/memleaks.html

Tuesday, February 20, 2007

Starting eclipse with more memory

To start Eclipse with a different memory size rather than the default 256M, use the following option:

eclipse -vmargs -Xmx1024M.

The above option starts IDE with 1024M instead of default 256M.

Tomcat - Remote Debuging

Configuring Tomcat to do remote debugging.
http://tomcat.apache.org/faq/development.html

Thursday, January 4, 2007

JVM Process Status Tool

jps - Java Virtual Machine Process Status Tool

http://java.sun.com/j2se/1.5.0/docs/tooldocs/share/jps.html

JMap - Memory Map Tool for Java

JMap tool is very useful to capture process state while debugging remote java applications. Refer to the following link for details.
http://java.sun.com/j2se/1.5.0/docs/tooldocs/share/jmap.html