VisualVM Java Profiler Causes Profiled JVM to Crash
Posted by
Shimi
Labels:
Java Tools,
Management,
Monitoring,
Profiling
VisualVM is a tool that integrates several management and monitoring tools for local and remote Java applications including a Java profiler. The VisualVM profiler enable you to analyze CPU and memory usage of local Java applications.
When attaching the VisualVM profiler to a Java application which is running on Java 6, the profiler may cause the Java application to crash. To prevent this from happening, you need to turn off class sharing for the Java application. Any Java application can be start with class sharing turned off by starting the application with the -Xshare:off argument.
Subscribe to:
Post Comments (Atom)
January 18, 2009 at 12:50 AM
Nice tip, thanks !!
August 15, 2009 at 10:58 AM
Solution for JVM crashing problem (64-bit JVM in Linux):
http://quest4grail.blogspot.com/2009/08/visualvm-cpu-profiling-on-64-bit-jvm-in.html
Post a Comment