NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Am I profiling the right thing?

 
Post new topic   Reply to topic    NetBeans Forums -> Profiler Users
View previous topic :: View next topic  
Author Message
monkeymagoo



Joined: 24 Apr 2009
Posts: 1

PostPosted: Fri Apr 24, 2009 3:40 pm    Post subject: Am I profiling the right thing? Reply with quote

Hi

I'm trying to remote debug Sun IDM which is running on Sun AppServer 8. I've installed the remote pack, and edited domain.xml as per the instructions.

Then, I shut down my domain (asadmin stop-domain), went to Netbeans, and attached my profiler. All working fine, I can see the memory usage starting to go up as the server starts, but then it hovers around the 50Mb mark, but I can see that in reality (from prstat) that my appserver is actually using something like 2.5Gb.

So, I'm wondering if I am profiling the wrong thing. Can anyone shed some light on this for me please?

Thanks!
Back to top
Tomas Hurka
Posted via mailing list.





PostPosted: Mon Apr 27, 2009 12:00 pm    Post subject: Am I profiling the right thing? Reply with quote

Hi,

On 24 Apr 2009, at 17:40, monkeymagoo wrote:
Quote:

I'm trying to remote debug Sun IDM which is running on Sun AppServer
8. I've installed the remote pack, and edited domain.xml as per the
instructions.

Then, I shut down my domain (asadmin stop-domain), went to Netbeans,
and attached my profiler. All working fine, I can see the memory
usage starting to go up as the server starts, but then it hovers
around the 50Mb mark, but I can see that in reality (from prstat)
that my appserver is actually using something like 2.5Gb.

So, I'm wondering if I am profiling the wrong thing. Can anyone shed
some light on this for me please?

Profiler displays the size of the Java heap, while (AFAICT) prstat
displays the size of entire process.

Bye,
--
Tomas Hurka <mailto:address-removed>
NetBeans Profiler http://profiler.netbeans.org
VisualVM http://visualvm.dev.java.net
Software Engineer, Developer Platforms Group
Sun Microsystems, Praha Czech Republic




---------------------------------------------------------------------
To unsubscribe, e-mail: address-removed
For additional commands, e-mail: address-removed
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Profiler Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo