|app doesn't launch when profiling with TPTP [message #128515]
||Tue, 15 April 2008 18:30
Originally posted by: afraser.broad.mit.edu|
Hi, I hope I'm sending this to the correct place, and somebody can help me.
I need to do some memory profiling in Eclipse so I've tried to get the
TPTP plugin working without any luck so far. It's worth noting that
I've never used a profiling tool. Here's what I've installed...
-I'm using Eclipse SDK version 3.3.2.
-I downloaded the TPTP all in one package
javaprofiler.win_ia32-TPTP-4.2.0.zip, and extracted it over my eclipse
-I downloaded and installed the new agent controller
(agntctrl.win_ia32-TPTP-4.2.0.zip), and confirmed that this was working.
-I downloaded and installed the JVMTI client (jvmti-client-TPTP-4.2.0.zip).
-I also installed JBoss 4.2.2, although I only found one place that said
that I actually need this.
Here's what I've done...
-profile as -> (created a new configuration under "Java Application")
-under "Monitor tab" I chose memory analysis under "Java Profiling - JRE
1.5 or newer"
-clicked the Profile button
-enter the profiling perspective
I get a tree in the "Profiling Monitor" with
+jCPAnalyst.JCPA at XYZ [PID: 3080]
BUT, my application doesn't actually run. I am able to open other views
(eg: obj allocations, mem. stats, etc), but all are empty. I was
previously having trouble starting the JVMTI, but in such cases a view
would popup with "progress" and it would never get beyond 51%. I've
tried changing the filters in the profile, with no change in the end
result. When I chose "Agent Discoverer" however, the app. did run, but
I get no feedback in the views.
After having done all this, I extracted tptp.runtime-TPTP-4.4.1.zip to
my eclipse directory and tried again, but it occurred to me that the
agent controller was still configured to use 4.2.
Could someone please help me get on my feet with this? Is there
anything that stands out that I may have missed?
thanks so much,
Powered by FUDForum
. Page generated in 0.11038 seconds