sathish009 0 Newbie Poster

I am trying to find memory leaks in my application. I added -Xrunhprof arguments to the java arguments. When I try to restart the service it times out.

This is the new argument that I added: -Xrunhprof:cpu=samples,file=java.hprof.txt

********************************
java.home=C:/JRun4/jre

java.args=-server -Xmx512m -Dsun.io.useCanonCaches=false -XX:MaxPermSize=128m -DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS -Dcoldfusion.rootDir={application.home}/ -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=28999,suspend=n -Xrunhprof:cpu=samples,file=/temp/java.hprof.log
********************************

I tried this in single server and multi server environment and both of them are timing out. It creates the java.hprof.txt file with header information but CF service does not start.

I searched for this issue in google and did not find any results.

Did anyone see this behavior? Can anyone help me to resolve this?

Thanks,
SR