Skip to main content



      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 09: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 10:15 Go to previous message
Eclipse UserFriend
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 May 09 06:41:06 EDT 2025

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

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

Back to the top