Memory Usage Bar

Runtime Tracing for C and C++.

When using the Runtime Tracing feature on a Java application, the UML/SD Viewer can display an extra bar on the left of the UML/SD Viewer window to indicate total memory usage for each sequence diagram message event.

The memory usage bar indicates how much memory has been allocated by the application and is still in use or not garbage collected.

In parallel to the UML sequence diagram, the graph bar represents the allocated memory against the highest amount of memory allocated during the execution of the application.

This ratio is calculated by subtracting the amount of free memory from the total amount of memory used by the application. The total amount of memory is subject to change during the execution and therefore the graph is recalculated whenever the largest amount of allocated memory increases.

A tooltip displays the actual memory usage in bytes.

To activate or disable coverage tracing with a Java application:

  1. Before building the node-under-analysis, open the Memory Profiling settings box.

  2. Set Coverage Tracing to Yes or No to respectively activate or disable coverage tracing for the selected node.

  3. Click OK to override the default settings of the node

To hide the memory usage bar:

  1. Right-click inside the UML/SD Viewer window.

  2. From the pop-up menu, select Hide Memory Usage.

To show the memory usage bar:

  1. Right-click inside the UML/SD Viewer window.

  2. From the pop-up menu, select Show Memory Usage.

Related Topics

Thread Bar | Time Stamping | UML/SD Viewer Preferences | Memory Profiling Settings