Manage memory analysis sessions
The Session view lets you manage your memory analysis sessions. You can load these sessions into the Memory Analysis perspective, so you can search for memory management errors in your application.
The view lists all of the memory analysis sessions that you've created in your workspace while running programs with the Memory Analysis tool active. Each session is identified by a name, date stamp, and an icon that indicates its current state.
The icons indicate:
![]() |
If the session is running, you may need to close and reopen the tabs at the top of the editor periodically to refresh the information in the Errors and Statistics panes. |
Right-clicking on a connected session
(
)
displays a menu with several options:
Right-clicking on a disconnected session
(
)
displays a menu with several options:
Memory analysis sessions must be "connected" before they can be viewed in the Memory Analysis editor. To connect a session:
After a moment, the session is connected
(
).
To delete a session:
The IDE deletes the memory analysis session.
To disconnect a session and recover the resources it uses while connected:
After a moment, the session is disconnected
(
).
To view information about a session:
The IDE displays a Properties dialog for that memory analysis session:
Occasionally, there may be too much information in a Memory Analysis session, and you might want to filter some of this information to narrow down your search for memory errors, events, and traces.
To filter out Memory Analysis session information:
To rename a memory analysis session:
The IDE displays the Rename Session dialog.
The IDE opens the memory analysis session in the Memory Analysis editor.
You'll use this item after you've logged trace events to a file on the target system and copied the file to your host system. For more information, see "Using a file to log the trace" in the Finding Memory Errors chapter.