Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsLocal memory profiling of a 32-bit Eclipse application from a 64-bit workbench (Windows)
https://www.eclipse.org/forums/index.php/mv/msg/261493/754610/#msg_754610
I have a 64-bit IDE/workbench based on Eclipse Helios running
jdk-1.6.0_029 (64-bit) on Windows 7 64-bit edition. I have installed all
the TPTP 4.7.2 etc. features from the Helios update site. The target
Eclipse application is a 32-bit platform that I am running on
jdk-1.6.0_029 (32-bit).
In Window > Preferences > Agent Controller > Integrated Agent
Controller, the Java executable is the 32-bit JRE, which apparently
reflects the default JRE set under Window > Preferences > Java >
Installed JREs. Window > Preferences > Agent Controller > Hosts >
localhost[10002] > Test Connection returns success.
However, when I try to launch a local profiling session (presumably
using the IAC) I get the following message in the console:
Error occurred during initialization of VM
"Could not find agent library JPIBootLoader on the library path, with
error: %1 is not a valid Win32 application"
A while later I get an error message box complaining about "The JVMTI
agent org.eclipse.tptp.jvmti is not available. Make sure that the
libraries for the agent are available and that it is configured
properly." I get the same error from Profile Configurations > Eclipse
Applications > MyEclipseApp > Profile Settings > Test Availability.
Any clues as to what is wrong? Is it a valid configuration: locally
profiling a 32-bit Eclipse application from a 64-bit IDE?
Thanks,
Adrian Price
TIBCO Software Inc.]]>Adrian Price2011-11-03T14:00:19-00:00Re: Local memory profiling of a 32-bit Eclipse application from a 64-bit workbench (Windows)
https://www.eclipse.org/forums/index.php/mv/msg/261493/754621/#msg_754621
The 32/64 bit compatibility is determined by the Agent-Controller
distribution you are using.
As the IAC is part of your 64 Bit Eclipse distribution it only
contains the 64-Bit DLL of the JPIBootLoader, so it will only
work properly with 64 bit Java Runtimes.
I suggest trying this scenario with a separate 32 Bit
Agent-Controller installation instead of using the IAC.
Hope this helps,
Torsten Stolpmann
]]>Torsten Stolpmann2011-11-03T15:07:29-00:00Re: Local memory profiling of a 32-bit Eclipse application from a 64-bit workbench (Windows)
https://www.eclipse.org/forums/index.php/mv/msg/261493/754623/#msg_754623
Many thanks indeed for the quick response. I will give your suggestion a go.
Cheers,
--A]]>Adrian Price2011-11-03T15:15:08-00:00Re: Local memory profiling of a 32-bit Eclipse application from a 64-bit workbench (Windows)
https://www.eclipse.org/forums/index.php/mv/msg/261493/754630/#msg_754630
Thanks Torsten!