TPTP profile files too large [message #257828] |
Sat, 07 June 2008 17:47  |
Eclipse User |
|
|
|
Originally posted by: theodore.larsonfreeman.boeing.com
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 #259658 is a reply to message #258737] |
Mon, 30 June 2008 19:03  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.08433 seconds