|Can't get profiling to work [message #127703]
||Tue, 01 April 2008 08:19
Originally posted by: lwrage.sei.cmu.edu|
I tried to use tptp for memory profiling of my eclipse plugins, but so
far I couldn't get eclipse to connect to the agent controller. I get the
infamous "Agent controller unavailable under port 10002" with the
external agent controller and "Agent controller unavailable under port
10002" with the internal one. I have the following questions:
Does TPTP work with Sun Java 1.6, or do I have to go back to Java 1.5? I
found some comments that 1.6 didn't work a year ago, but should it work
with the current TPTP version from the europa update site?
Can I use TPTP to profile an Eclipse Application started from within
eclipse? All the examples seem to be about plain Java applications, but
the profie dialog offers "Eclipse Application" as well. Do I have to
provide any JVM arguments?
Win XP SP2, Sun Java 1.6.0_05, brand new installation of Eclipse 3.3.2,
TPTP from the europa update site, downloaded on 3/31/08.
|Re: Can't get profiling to work [message #127983 is a reply to message #127960]
||Fri, 04 April 2008 18:00
| Dan Hoyt
Registered: July 2009
Okay, I just finished a brand new install on another WinXP machine of both |
Europa 188.8.131.52 and Europa 3.3.2 and installed TPTP from the Europa
Discovery Update Site, and ... both of them fail just like the others.
That makes four installations (five, if you include my coworker), and
three versions of XP (Home, Pro and x64 Pro), none of which have working
What's wrong here? What am I missing to make the IAC work? Isn't it
supposed to be pre-configured to work out of the box with the 4.4 release?
Or is this exercise just a waste of my time? I've been reluctant to spend
$500 on Instantiations CodePro Profiler, but if I spend $500 in labor
trying to make TPTP work, what's the difference?
Does ANYBODY have a working installation of TPTP's Internal Agent
Controller? If so, specifically what versions of Eclipse and TPTP are you
using and what did you have to do to configure it properly?
|Re: Can't get profiling to work [message #128109 is a reply to message #127983]
||Mon, 07 April 2008 18:00
| Dan Hoyt
Registered: July 2009
I finally got this working -- slowly.|
While running through the install instructions for Instantiations CodePro,
I learned something new (to me) about Eclipse: extension locations.
Just out of curiosity, I uninstalled the two TPTP features (Profiling and
Platform) I had installed using the update site, downloaded the all-in-one
TPTP 4.4.1 .ZIP, installed it into a separate directory and registered it
as an extension location in Eclipse.
The first time I clicked on the "Test Connection" button in my Profiling
launch configuration, it came back with a JVMTI error, but the second
click connected properly, and I was able to launch with profiling.
Unfortunately, it's also running v-e-r-y s-l-o-w-l-y (as in 25 *minutes*
to fully launch a workbench product that normally takes less than 25
seconds), running well past my physical RAM (and thus into WinXP's
pagefile) and pegging my CPU at 100% for the entire time.
(FWIW, CodePro exhibits pretty much the same behavior, so I'm not
convinced it's TPTP that's the problem.)
I don't see how the extension location could have fixed it, so I'm
assuming it's the fact that I included the other three features (Testing,
Monitoring and BIRT Connection), but who knows? It's (kind of) working.
Powered by FUDForum
. Page generated in 0.01952 seconds