The Memory Usage Window window displays a graphical summary of how memory has been used in each memory segment of a linked application.

Viewing segments using the memory usage window

Each bar represents an entire memory segment and the green coloured area represents the area of the segment that has code or data placed in it.

Showing the Memory Usage Window

To activate the Memory Usage Window if it is hidden, do one of the following:

—or—

The memory usage graph will only be visible if your current active project's target is an executable file and the file exists. If the executable file has not been linked by CrossStudio, memory usage information may not be available.

Displaying Section Information

The Memory Usage Window can also be used to display graphically how program sections have been placed in memory. To display the program sections simply click on the memory segment to expand it or alternatively right click and select Show Memory Sections from the context menu.

Viewing program sections with the memory usage window

Each bar represents an entire memory segment and the green coloured area represents the area of the segment that contains the program section.

Displaying Segment Overflow

The Memory Usage Window  also displays segment overflows, i.e. when the total size of the program sections placed in a segment is larger than the segment size. When this happens the segment and section bars represents the total memory used, areas coloured green represent the code or data that has been placed within the segment and areas coloured red represent code or data that has been placed outside of the segment.

Viewing program segment overflow with the memory usage window

Getting More Detailed Information

If you require more detailed information than that provided by the Memory Usage Window, such as the location of specific objects within memory, you should use the  Symbols Window .