• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HPROF not showing content of my war file

 
sumit anand kumar
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I was trying to use HPROF to identify any bottlenecks in my project hosted on Tomcat 6.
But to my surprise, the dump file created doesn't contain any trace from code inside my war file.
The CPU utilization report also shows only the classes of Catalina class.

How do i make HPROF show the content of my war file. I was using oktech simultaneously

This is what i have added to setenv.sh file :


export CLASSPATH=$CLASSPATH:$CATALINA_HOME/conf:/tmp/oktech-profiler-1.1
#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib
export JAVA_OPTS="$JAVA_OPTS -Xms256m -Xmx2048m -XX:PermSize=128m -XX:MaxPermSize=512m -XX:+OptimizeStringConcat -XX:+UseCompressedStrings -XX:+UseParallelGC -XX:+UseParallelOldGC "
#export JAVA_OPTS="$JAVA_OPTS -server "
export JAVA_OPTS="$JAVA_OPTS -Xrunhprof:heap=all,depth=20,file=/tmp/dump "
export JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -javaagent:hu.oktech.profiler-runtime.jar"
 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think this would be better suitable for the Performance forum instead of Java in General.Moving topic.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic