Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Re: TPTP profile files too large
Re: TPTP profile files too large [message #130955] Sat, 07 June 2008 23:29 Go to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Ted,

It's probably better to ask on the TPTP newsgroup, which I've added to
the "to" list of the reply. Paul invariably seems to answer all the
questions there. You might want to increase the heap size in your
eclipse.ini file when dealing with such big trace files.


Ted Larson Freeman wrote:
> I'm using TPTP 4.4.1 and Eclipse 3.3.2 to profile a JBOSS application.
> The application is running on Windows Server 2003 with Java 1.5.0_11.
> I'm using the Agent Controller in standalone mode on the server. After
> just a few minutes, the profile file that is generated is typically
> more than 500 MB in size. Eclipse tends to crash when importing these
> files. I want to profile applications for much longer time periods, so
> this file size is not going to be usable.
> I am using a profile file and a filter file. I can verify that the
> classes I exclude in the filter file do not appear in the trace file,
> and the settings in the profile file appear to be working. I have
> tried various combinations of profile settings, but unless I turn
> tracing off altogether the trace files are unmanageably large.
> Here is an example of a profile file that I have been using:
>
> MONITOR_MODE = none
> FILTERS = true
> TRACK_GC_EVENT_TYPES = none
> ID_STYLE = static
> OPTIONS = true
> TIMESTAMPS = true
> METHOD_COUNTS = false
> OBJ_ALLOC_IS_ARRAY = false
> STACK_INFORMATION = normal
> BOUNDARY_DEPTH = 1
> TICKET = false
> TRACE_MODE = full
> TRACE_IDREFS = false
>
> I keep adding classes to the exclusion list in the filter file, but
> the file size continues to be too large. Here is an example of a
> filter file I have used:
>
> java* * EXCLUDE
> sun* * EXCLUDE
> sun.misc.* * EXCLUDE
> com.sun.* * EXCLUDE
> com.ibm.* * EXCLUDE
> org.eclipse.* * EXCLUDE
> org.apache.* * EXCLUDE
> org.w3c.* * EXCLUDE
> org.xml.* * EXCLUDE
> javax.xml.parsers.* * EXCLUDE
> org.jboss.* * EXCLUDE
> org.tanukisoftware.* * EXCLUDE
> gnu.getopt.* * EXCLUDE
> EDU.oswego.* * EXCLUDE
>
> Any suggestions about how to reduce the size of the profile files
> would be greatly appreciated. Thank you,
>
> Ted Larson Freeman
>
>
Re: TPTP profile files too large [message #131398 is a reply to message #130955] Tue, 17 June 2008 13:46 Go to previous messageGo to next message
Asaf Yaffe is currently offline Asaf YaffeFriend
Messages: 333
Registered: July 2009
Senior Member
Ted,

Here are some suggestions for you to consider:

1. For filters, try an "include list" approach as opposed to the
"exclude list" approach you are currently using.

For example, assuming all your application classes are defined under
package com.initech.*, use the following filter:

com.initech.* * INCLUDE
* * EXCLUDE

2. Start the profiler in "enabled" mode and then attach the workbench at
the point where your application starts working (i.e., skip the JBoss
initialization phases) or processes interesting requests. Then detach.

HTH,
Asaf

--
Asaf Yaffe
Eclipse TPTP Committer, JVMTI Profiler
Re: TPTP profile files too large [message #131883 is a reply to message #131398] Mon, 30 June 2008 23:03 Go to previous message
Eclipse UserFriend
Originally posted by: theodore.larsonfreeman.boeing.com

Thanks, Asaf! That's a big help.

Ted


Asaf Yaffe wrote:

> Ted,

> Here are some suggestions for you to consider:

> 1. For filters, try an "include list" approach as opposed to the
> "exclude list" approach you are currently using.

> For example, assuming all your application classes are defined under
> package com.initech.*, use the following filter:

> com.initech.* * INCLUDE
> * * EXCLUDE

> 2. Start the profiler in "enabled" mode and then attach the workbench at
> the point where your application starts working (i.e., skip the JBoss
> initialization phases) or processes interesting requests. Then detach.

> HTH,
> Asaf
Previous Topic:How does the Eclipse project test it's GUI?
Next Topic:Agent Controller is not active
Goto Forum:
  


Current Time: Fri Apr 19 22:06:17 GMT 2024

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

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

Back to the top