question

Linu L. avatar image
Linu L. asked ·

Memory Consumption

In DT how we can find it out which method has consumed more memory. While running the test after a certain period, the memory is not get released it got crashed. How we can analyse this more through DT.

10 |2000000 characters needed characters left characters exceeded

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

1 Answer

Andreas G. avatar image
Andreas G. answered ·

dynaTrace has a great solution for memory diagnostics. It wont tell you which method allocated how much memory - but - it will tell you which objects are responsible for your out-of-memory exceptions.
After you have identified which objects are a problem and "who" keeps them alive you can go one step further and define "Memory Sensor Rules" - they will show you memory allocations for specific classes along the PurePath.

Best is to start with the following webinar that explains the memory diagnostics process step-by-step: dynaLearn Webinar - Memory and Thread Diagnostics - February 15, 2012

4 comments Share
10 |2000000 characters needed characters left characters exceeded

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

Thanks Andreas.
But How we can identify the objects that are responsible for out-of-memory exceptions.
How to set the Memory sensor Rules.

0 Likes 0 · ·

The Webinar explains all of this. Also - check out the documentation - there are some good examples: Memory Diagnostics

0 Likes 0 · ·

Okay thanks..

0 Likes 0 · ·

I'd like to also add this page from the documentation, which I used yesterday to help someone determine the exact cause of a memory leak by walking through step-by-step what was done in the document.

Pinpoint Memory Leaks

0 Likes 0 · ·