Integration of MyEclipse2014 and jprofiler to analyze the memory usage of the webproject
Today, I went to demonstrate a web system. During the demonstration, the system suddenly reported a 500 error. I logged on to the server and found that the cpu usage reached 103%. I immediately killed the process and restarted it, to complete the demo process. after the demo is completed, immediately start the Memory Leak-related work to ensure that this emergency will not occur next time. jprofiler is a good memory detection software. the development system IDE uses MyEclipse 2014. In my previous blog, I introduced how to install it in Ubuntu. Here I will introduce the integration of jprofiler.
1. Download jprofiler, wget http://download-aws.ej-technologies.com/jprofiler/jprofiler_linux_8_1_2.tar.gz
2. Decompress jprofiler tar-xvf jprofiler_linux_8_1_2.tar.gz.
3. Go to the directory to start jprofiler, cd jprofiler8/bin,./jprofiler. Start installation and select next. Select trial in the serial number.
After jprofiler is installed, You need to integrate it into MyEclipse. First, you can see that the corresponding eclipse version in the readme/readme_eclipse.html file under the MyEclipse installation directory is eclipse-4.3.0, for example:
Integrate jprofiler into the Myeclispe plug-in:
1. Session-> IDE Intergrations-> Eclipse 4.3-> Intergrate-> select MyEclipse installation directory-> choose-> OK
2. run tomcat first, click MyEclipse-> windows-> Customize Perspective, and then click run-> Attache jProfiler to run JVM to run the plug-in.
3. Select the first one to analyze the memory usage of the current tomcat running, for example: <喎?http: www.bkjia.com kf ware vc " target="_blank" class="keylink"> VcD4KPHA + pgltzybzcm9 "" alt = "">