How to Use jprofiler for memory Detection

Source: Internet
Author: User
Tags jprofiler

 

2010-07-22 how to configure jprofiler to monitor the memory usage of plug-ins written by ECLIPSE
Eclipsejavajvm application server software testing as you know, jprofiler is a well-known software used for Java System Monitoring and analysis. It has powerful functions and can monitor common Java application, applet, Java Web Start, application Server. In addition to local programs, applications running on remote servers can also be monitored. There are many configuration methods for monitoring various types of applications on the Internet.

I saw a lot of integration configuration methods for eclipse and jprofiler on the Internet, but I didn't find any articles on jprofiler starting eclipse to test plugin. After exploring and referring to online resources, I finally found a solution, start eclipse3.4, and share the configuration session method below. start your jprofiler, which can be obtained from http://www.ej-policies.com/index.html.

After the installation and startup, select "session-New session" in the pop-up window "session Settings" and configure the session, enter the name of the session in "session name;

Select your JVM location in "Java VM". Here the JVM version should support eclipse;
"Working directory" should select the eclipse installation location; "VM arguements" is eclipse when eclipse is started. JVM configuration parameters in the INI file during eclipse startup; the most important parameter is "Main class or executable jar". This is the Java class for starting eclipse. In eclipse3.4, this jar is located in org. eclipse. equinox. launcher_1.0.101.r34x_v20080819.jar ";

"Arguments" is a simple startup parameter. Most parameters in the eclipse. ini file must be set here. The image file below is my session Configuration:


Then start this session. You will see that eclipse is started and jprofiler is started. You will see the memory usage of your class and plugin.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.