Hello Everybody ,
I have been using hprof for short example programs and found it quite handy.
Can anyone tell me how to run hprof in weblogic 8 server and profile my web application?
Thanks in advance.
If you start Weblogic8.1 from MyEclipse then you will need to locate the section when you can add/modify JVM startup arguments.
-XX:+HeapDumpOnOutOfMemoryError should be added before or after the memory arguments such as Xms & Xmx.
If you cant figure out in Eclipse then you can still edit the Weblogic commEnv.cmd script from your Weblogic 8.1 binary installation and add the parameter from there.