• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Stan B. · Feb 09, 2012 at 11:32 PM · diagnostics

Why Leak Analysis Memory does not equal Selective Used memory?

I am trying to understand why ASP.NET worker process (w3wp.exe) is too big and see its contents.  The size of w3wp.exe in Task Manager is 306Mb which is what selective memory snapshot shows as Used Memory:

However, when I take Deep Memory Analysis snapshot (under Total Memory) it shows Used Memory of 10,.09 Mb:

What does this 10.09 MB represent? Why Total Memory does not equal Used Memory or worker process size?

Please help me interpret this.

-Stan 

Comment
Chad T.

People who like this

1 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

2 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Asad A. · Mar 01, 2012 at 01:18 AM

Stan,

One more thing to look at. Are you triggering garbage collection when taking deep memory analysis dumps? That can bring the deep memory analysis size lower.

Asad

Comment
Chad T.

People who like this

1 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Stan B. · Mar 01, 2012 at 01:29 AM 1
Share

Thank you everybody. Let me eliminate one issue first - we're not running the latest version. We are in the process of upgrading from 4.0 to 4.1. I will check the numbers once the upgrade is done and open a support ticket if they are different. (Yes it was strange because Selective Memory was only showing a few objects for which Memory Sensors were defined in sensor pack. Triggering GC or not didn't seem make make much difference).

avatar image

Answer by Andreas G. · Feb 24, 2012 at 10:23 PM

Hi Stan

Sorry for the late reply on this. Both Dashlets are able to display "Used Memory" and "Process Memory". Where Used Memory is really the memory that is used by the JVM/CLR Heap and Process Memory is the memory used by the process.
Is it possible you look at two different columns here?
If not - and both show the same value I would ask you to export the deep memory dump and send it over to us to analyze. Best would be through a support ticket

Thanks

Comment
Chad T.

People who like this

1 Show 3 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Stan B. · Feb 29, 2012 at 09:08 PM 1
Share

Hi Andreas:

I found good a slide that maybe explains this:

It appears that Selective Memory is  process memory which is a sum of dlls, native heaps, threads, etc while Deep Memory snapshot is just only managed memory, that's why it is much smaller. Not sure if it is correct or not..

avatar image Andreas G. ♦ Stan B. · Feb 29, 2012 at 09:14 PM 1
Share

Good thought. Just wondering if 10MB can be accurate. Not sure if there are apps that "only" use 10MB of dlls. You could use a tool like process explorer to verify which dlls are loaded and do the math.

In any case - I would still open a ticket as suggested so that our team can look into this. When we get the accurate answer we can post it here on the forum

avatar image Christian S. Stan B. · Feb 29, 2012 at 09:43 PM 1
Share

hi Stan,

honestly, i'm a little confused about the numbers you see.

both selective and deep memory dump only show objects on the .NET heap, so both of them should show the same overall memory values.

especially because the selective dump shows fewer objects than the deep memory dump, it's confusing that the used memory should be lower.

i'd create a support ticket anyway, so we look into this in more detail.

best,

Christian

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Violation Detection Settings for individual Split values

analyzing high number of page faults

XML parser exceptions

Server deployment incidents, AppMon server

how you use world map and UEM any use cases samples?

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A