Java Performance Troubleshooting tools:
The 1.jconsole was launched with JDK 1.5. This is a Java monitoring and management Console-JMX compatible graphics tool to monitor Java virtual machines. It is capable of monitoring both local and remote JVMs. Details can be viewed: Jconsole Tool Introduction 2. VisualVM integrates several existing JDK software tools, lightweight memory and CPU information profiling capabilities. This tool is designed to be used simultaneously in production and development, further improving monitoring capabilities and the performance analysis capabilities of the Java SE platform. 3.HeapAnalyzer can use heuristic search engine and analysis Java stack storage information to discover the possible Java stack leaking area, it will parse the Java stack to store information, create directed graph, transform them into directed tree and execute heuristic search engine. 4.PerfAnal is a GUI-based tool for analyzing application performance on the Java 2 platform. You can use Perfanal's identification to find out which code you need to adjust 5.JAMon is a free, simple, high-performance, secure Java API that allows developers to easily monitor production applications. 6.Eclipse Memory Analyzer is a fast and feature-rich Java Heap Analyzer that helps you find out about the leaks and reduce memory consumption. 7.GCViewer a free open source tool that uses JAVAVM properties-VERBOSE:GC and-XLOGGC to generate visual data. It also calculates the performance metrics associated with garbage collection (throughput, accumulated stay, longest stay, etc.).
On-the-go environment any service should not run in the default configuration, and the following two parameters must be modified when we are not familiar with Tomcat;
In the/usr/local/tomcat/bin directory catalina.sh add: java_opts= "-xms512m-xmx1024m" to add "M" description is MB, otherwise it is KB, when starting Tomcat will be reported insufficient memory. -XMS: Initial value-xmx: Maximum value-xmn: Minimum value
Java Performance Troubleshooting Tool