I have a production Weblogic 7.0 server running in Solaris with a Sun JVM 1.3.1. I have to do an outage, and I wanted to get a Heap Dump from the JVM to look for any memory leak the application could be producing. Is there any trick to get the Heap Dump. It doesn't matter if the JVM crash, as I will be doing this during the outage.
Though you may obtain heap information using JVMPI, I don't think raw heap dump would be of any help. You may want to look at run-time J2EE monitoring tools from Borland or Quest - they may provide more readable information.
Also it makes a lot of sense to run load tests of your application under profiler in QA environment. Please check this as well: http://jroller.com/page/imeshev/20040204