Tag Archives: weak reference

Java Profiling Memory Leak

Tips: Invoke the JVM with the -verbose:gc or the -Xloggc option. Use JTune to graph the log. Invoke the JVM with the -Xrunhprof:heap=sites option to run the built-in hprof to find out the leaking/leaded objects classes. With jdk 1.6, use … Continue reading

Posted in All, Java/JavaScript | Tagged , , , , | Leave a comment