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.