Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Profiling large applications problems
Profiling large applications problems [message #69832] Mon, 08 May 2006 16:24 Go to next message
chad bell is currently offline chad bellFriend
Messages: 1
Registered: July 2009
Junior Member
I am currently trying to profile a large application (1 gig of heap space)
in TPTP using weblogic 8.1 sp5 and jdk 1.4.2_11.

Since I am trying to profile a good size application I have set my filters
to be the following:

com.sap.* INCLUDE
com.hp.* INCLUDE
* EXCLUDE

The applications starts up correct. When I get into Eclipse and attach to
application. It will say Processed: 5115 bytes, bytes/second, events
processed:48, events/second: 0 elapsed time:81. The number of bytes,
events and time keeps growing. When I go in the Basic Memory Analysis
view I see "No data is available for display." After waiting some I time
(about 2 minutes) I hit "Collect object References.". Eclipse processes
for a little while and the Basic Memory Analysis ends up having data. At
this point Eclipse becomes very slow.

The problem is that the Basic Memory Analysis ends up having every single
class with in the JVM. I would have thought it would have only included
com.sap.* and com.hp.*. I was hoping that the filtering would increase
the performance and reliability.

I first want to make sure I am profiling my application correctly. I
secondly would like to figure out a way for the classes to be filtered on
the server side.

My Environment is as followings:
Weblogic 8.1 sp5
JDK 1.4.2_11
Eclipse 3.1.2
TPTP 4.0.1

In Weblogic my memory arguments are:
I am currently trying to profile a large application (1 gig of heap space)
in TPTP using weblogic 8.1 sp5 and jdk 1.4.2_11.

Since I am trying to profile a good size applicaiton I have set my filters
to be the following:

com.sap.* INCLUDE
com.hp.* INCLUDE
* EXCLUDE

The applications starts up correct. When I get into Eclipse and attach to
applicaiton. It will say Processed: 5115 bytes, bytes/second, events
processed:48, events/second: 0 elapsed time:81. The number of bytes,
events and time keeps growing. When I go in the Basic Memory Analysis
view I see "No data is available for display." After waiting some I time
(about 2 minutes) I hit "Collect object References.". Eclipse processes
for a little while and the Basic Memory Analysis ends up having data. At
this point Eclipse becomes very slow.

The problem is that the Basic Memory Anaysis ends up having every single
class with in the JVM. I would have thought it would have only included
com.sap.* and com.hp.*. I was hoping that the filtering would increase
the performance and reliability.

I first want to make sure I am profiling my applicaiton correctly. I
secondly would like to figure out a way for the classes to be filtered on
the server side.

My Environment is as followings:
Weblogic 8.1 sp5
JDK 1.4.2_11
Eclipse 3.1.2
TPTP 4.0.1

My weblogic script has the following:
set JAVA_VM=-hotspot
set MEM_ARGS=-Xms64m -Xmx1024m -XX:TargetSurvivorRatio=1 -Xverify:none
-XX:SurvivorRatio=100 -XX:MaxTenuringThreshold=0 -XX:ParallelGCThreads=2
-XX:MaxNewSize=100m -verbose:gc -XX:+PrintGCTimeStamps -XX:+PrintGCDetails
-XX:+PrintTenuringDistribution
set JAVA_OPTIONS=-XrunpiAgent:server=enabled %JAVA_OPTIONS%
Re: Profiling large applications problems [message #69958 is a reply to message #69832] Mon, 08 May 2006 22:02 Go to previous message
Eclipse UserFriend
Originally posted by: nmehrega.ca.ibm.com

This is a multipart message in MIME format.
--=_alternative 0079105585257168_=
Content-Type: text/plain; charset="US-ASCII"

Yes, you're right, I've noticed that some JVM classes are still included
in the views even when your filterset excludes them. This only happens
for Basic Memory Analysis. Please open a major defect for this here:
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=TPTP Choose
Platform.Agents.JVMPI for its component.

Navid
--=_alternative 0079105585257168_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Yes, you're right, I've noticed that
some JVM classes are still included in the views even when your filterset
excludes them. &nbsp;This only happens for Basic Memory Analysis. &nbsp;Please
open a major defect for this here: https://bugs.eclipse.org/bugs/enter_bug.cgi?product=TPTP
&nbsp;Choose Platform.Agents.JVMPI for its component.</font>
<br>
<br><font size=2 face="sans-serif">Navid</font>
--=_alternative 0079105585257168_=--
Previous Topic:How to test RCP application
Next Topic:How to test plugins lie in workspace
Goto Forum:
  


Current Time: Sun Dec 21 16:04:27 GMT 2014

Powered by FUDForum. Page generated in 0.02810 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software