Heap memory usage and analysis report

Hi Team,

We have noticed some performance issues and suspect that heap memory usage may be a contributing factor.

Specifically, Can we get the details of the following things

  • The amount of memory used by each object
  • The amount of memory used by each method and located memory

This information will help us optimize our code and reduce memory usage.

Hi @Rohitk,

You can use the memory profiling. Requirements: form java 11. Very useful tool.

Memory profiling | Dynatrace Docs

At previous java versions you can only trigger a memory dump which can be analized in another tool (eg. VisualJVM).

Memory dump analysis | Dynatrace Docs

I hope it helps.

Best regards,

Mizső