Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Is memory profile supported by new java profiler?
Is memory profile supported by new java profiler? [message #90297] Thu, 14 December 2006 14:16 Go to next message
Eclipse UserFriend
Originally posted by: sanlyfang.gmail.com

I have installed new agent controller as windows service and try to
memory-profile my application which deployed under weblogic 9.2.

I have changed JAVA_PROFILER settings in weblogic env script as follows:
JAVA_PROFILER=-agentlib:JPIBootLoader=JPIAgent:server=standa lone;CGProf

By default, the profile result is generated in the current directory,
which could be imported into eclipse workbench for further investigation.
But it seems only method execution statistics are available, nothing
displayed when I open memory view, I tried to change startup settings from:
=-agentlib:JPIBootLoader=JPIAgent:server=standalone;CGProf

to
=-agentlib:JPIBootLoader=JPIAgent:server=standalone;MemProf

but without success, I am wondering whether memory profile is supported by
new java profiler/new agent controller and if it is true, what's wrong
with my settings?

Thanks!
Re: Is memory profile supported by new java profiler? [message #90343 is a reply to message #90297] Thu, 14 December 2006 15:15 Go to previous message
Asaf Yaffe is currently offline Asaf YaffeFriend
Messages: 333
Registered: July 2009
Senior Member
Sanly Fang wrote:
> I have installed new agent controller as windows service and try to
> memory-profile my application which deployed under weblogic 9.2.
>
> I have changed JAVA_PROFILER settings in weblogic env script as follows:
> JAVA_PROFILER=-agentlib:JPIBootLoader=JPIAgent:server=standa lone;CGProf
>
> By default, the profile result is generated in the current directory,
> which could be imported into eclipse workbench for further
> investigation. But it seems only method execution statistics are
> available, nothing displayed when I open memory view, I tried to change
> startup settings from:
> =-agentlib:JPIBootLoader=JPIAgent:server=standalone;CGProf
>
> to
> =-agentlib:JPIBootLoader=JPIAgent:server=standalone;MemProf
>
> but without success, I am wondering whether memory profile is supported
> by new java profiler/new agent controller and if it is true, what's
> wrong with my settings?
>
> Thanks!
>
>

The Memory profiler can be launched with the following command line:
-agentlib:JPIBootLoader=JPIAgent:server=standalone;HeapProf

Make sure you use version 4.3. Earlier versions support only CPU Profiling.

The readme file and online docs are outdated. We expect to post updated
versions soon.

HTH,
Asaf

--
Asaf Yaffe
Eclipse TPTP Committer, JVMTI Profiler
Previous Topic:tptp.automated.gui workaround, any luck?
Next Topic:Problems with installation of TPTP 4.3 on Windows
Goto Forum:
  


Current Time: Fri Apr 19 08:47:38 GMT 2024

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

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

Back to the top