Commands

Commands on the File menu:

 

New session

Prepares the profiler for a new profiling session. Will unload any current session and show the Start page.

Description: NewProject

New profiler project
(Professional only)

Starts a wizard that allows you to create a new profiler project. For more information, see Profiler Projects and the “How to…” topic Create or Load a Profiler Project.

Description: OpenProject

Open->Profiler project
(Professional only)

Opens a profiler project and includes it in the projects explorer window. For more information, see Profiler Projects and the “How to…” topic Create or Load a Profiler Project.

Description: Open

Open->Session

Opens a previously saved session file. For more information, see Work with a Previously Saved Session.

 

Save session as…

Saves the current profiler session to a session file. Allows you to select which snapshots to include in the session file.

 

Save

Saves the current profiler session to a session file.

 

Save project
(Professional only)

Saves the project that is currently selected in the projects explorer.

 

Save project as
(Professional only)

Saves the project that is currently selected in the projects explorer to a new file.

Description: ProfileApplication

Profile application

Starts a wizard that helps you profile a stand-alone application. For more information, see Start Profiling an Application.

Profile WPF browser application

Starts profiling a WPF browser application with the help of a wizard. For more information, see Start Profiling a WPF Browser Application.

Description: ProfileASP

Profile ASP.NET

Starts a wizard that helps you profile an ASP.NET application. For more information, see Start Profiling ASP.NET.

Profile Silverlight application

Start profiling a Silverlight application with the help of a wizard. For more information, see Start Profiling a Silverlight Application.

Description: ProfileService

Profile Windows service

Starts a wizard that allows you to profile a Windows Service. For more information, see Start Profiling a Windows Service.

Description: AttachTo

Attach to process
(Professional only)

Starts a wizard that allows you to attach the profiler to a running .NET process. For more information, see Attach to a Process.

Description: ImportMemoryDump

Import memory dump
(Professional only)

Starts a wizard that allows you to import memory dump files as heap snapshots. For more information, see Import Memory Dump Files.

 

Recent profiled applications

Contains a list of recently profiled applications, allowing you to quickly select an application to profile. The selection also includes the program arguments of the application.

 

Recent sessions

Contains a list of recently opened profiler session files, allowing you to quickly open a previous session file.

 

Exit

Exits .NET Memory Profiler.

Commands on the Edit menu:

 

Copy

Copies data from the selected item in the currently selected control to the clipboard. For more information, see Copying Data to the Clipboard.

 

Copy All

Copies all data from the currently selected control to the clipboard. For more information, see Copying Data to the Clipboard.

 

Commands on the View menu:

Description: ShowPerSec

Show allocs and bytes per second

This command affects all columns and fields that present the number of allocations performed and bytes allocated. If this command is checked then the values of those fields and columns will be divided by the elapsed time between the snapshots. Otherwise, the actual allocation- and byte-count will be presented.

Description: ShowPercent

Show heap utilization as percent

This command affects all columns and fields that present information about the heap utilization. If this command is checked, those fields and numbers will be presented as a percentage of the total number of allocations performed between snapshots. Otherwise the way they are presented is determined by the Show Allocs and Bytes per Second setting. This command is only available if heap utilization tracking is enabled. For more information, see Heap Utilization Tracker.

 

Show [Field set]

Allows you to select how the heap information should be presented. It will affect which columns are shown in the tables and how the fields in the info panels are presented. For more information, see Field Sets.

Description: ShowIgnoredAnalysis-24

Show ignored analysis issues

Opens the Ignored Analysis Issue window, which can be used to view and modify the ignored analysis issues. For more information, see Modifying Ignored Issues.

Description: IgnoreRuntimeIssues-24

Ignore framework issues

Ignores analysis issues that are caused by the .NET Framework. For more information, see Ignoring Framework Issues.

Description: MemLeak

Show failed memory assertions

If at least one memory assertion has failed, this command will bring up a dialog that allows you to view information about the failed memory assertions.

Manage filters

Opens the Manage filter window. For more information, see Saving and Managing Filters.

Description: Back

Back

Steps back to the previously shown details information. This can, for instance, be useful if you want to look at the details of a referrer of an instance, and then you want to get back to the original instance.

Description: Forward

Forward

Steps forward through details information previously left using Back.

 

Show instance details

-

Show source

Shows details about the selected instance or function. If the selected item is an instance, the instance details page will be shown. If the selected item is a method (in a call stack), the profiler is running within Visual Studio and source file information is available, then this command will be named Show source and will show the source of the method when selected.

 

Show Type/Resource details

Shows details about the type or resource of the selected item.

 

Associate memory with resource
(Professional only)

Associates unmanaged memory with related resources. For more information, see Associated Memory.

 

Call stack functions

Defines which functions/methods should be included when viewing call stacks. The available options are: Source, Publically visible, and All.

Description: Project

Profiler projects explorer (Professional only)

Shows the Profiler Projects Explorer window. For more information, see Profiler Projects.

Description: PropertyPages

Session Property Pages

Project Property Pages
(Professional only)

If the main profiler window is active and contains an active session, then the Session Property Pages dialog is shown. If a profiler project is selected in the profiler projects explorer, then the Project Property Pages dialog is shown. For more information, see Session Settings.

 

Layout->Column chooser

Opens the column chooser window. For more information, see Column Layout and Customization.

 

Layout->Auto-adjust column widths

Toggles auto-adjustment of table columns. For more information, see Column Layout and Customization.

 

Layout->Reset layout

Resets the layout of columns and tool windows. For more information, see Column Layout and Customization.

Commands on the Profiler menu:

Description: StartProject

Start using profiler project
(Professional only)

Starts profiling using the settings from the currently active profiler project. For more information, see Profiler Projects and the “How to…” topic Start Profiling using a Profiler Project.

Description: Start

Start

Restarts a profiler session. This command is only available after an active session has been stopped.

Description: Stop2

Stop

Stops the currently active profiler session.

Description: snapshot

Collect Heap Snapshot

Collects a snapshot of the GC heap and native memory. The results will be presented under the snapshot pages.

Description: snapshot

Collect Gen #0 Heap Snapshot

Collects a snapshot of the GC heap and native memory by only doing a generation #0 garbage collect. This command is only available if heap utilization tracking or low-impact profiling is enabled. For more information, see Heap Utilization Tracker.

Collect peak snapshot
(Professional only)

Collects the current peak snapshot. If a higher peak is detected after the current peak has been collected, an additional peak snapshot will be collected when the session ends. For more information, see Peak Snapshots.

Reset peak
(Professional only)

Resets the current peak snapshot. New peak snapshot information will be collected at the next garbage collection. For more information, see Peak Snapshots.

Track peak snapshots
(Professional only)

Enables and disables peak snapshot collection. When enabled, temporary snapshot information will be stored each time a new peak has been detected and a peak snapshot will be collected when the session ends. For more information, see Peak Snapshots.

 

Rename snapshot

Renames a previously saved snapshot.

Commands on the Tools menu:

 

Options

Opens the Default Property Pages dialog. For more information, see Session Settings.

Commands on the Help menu:

Description: Help

Contents

Opens a help window and shows the contents of the help.

 

.NET Memory Profiler API reference

Opens a help window showing the .NET Memory Profiler API reference.

 

Show PDF manual

Opens Acrobat Reader (if installed) and shows the manual.

 

View license information

Show the license information window. This window allows you to view and modify the license information.

 

About

Shows information about .NET Memory Profiler.