Analyze Memory Traffic

Last modified: 07 April 2021

Memory traffic information shows you how much memory was allocated and released during a particular time interval.

Traffic analysis is the main instrument for determining ineffective memory usage in your app. Excessive allocations and garbage collections may result in significant memory management overhead. For example, you have an array of objects which should be updated over time. You can update each object in two ways: by creating a new instance with required properties or by updating properties of the existing instance. From the functionality perspective, both options are the same. But from the point of memory management workload, creating a new instance all the time is much less effective.

Use the Memory Traffic view to understand what objects are created/collected most intensively in your app and what functions cause this memory traffic.