Analyzing Application Memory Usage

See Also

The Analyze Memory Usage task gives you data on objects that have been allocated in the target application. When you analyze memory usage, you can use the default configuration settings or create a custom configuration for the task.

To analyze memory usage:

  1. Select the project in the Projects window and choose Profile > Profile Project from the main menu.
  2. Click Memory in the left pane of the Select Profiling Task window to expand the button.
    You can use the default configuration, create a new custom configuration or use an existing custom configuration.
  3. Select one of the following profiling options.
  4. Select any additional options (only available when you select the Advanced profiling option)
  5. Click Run.

When you click Run, the target application launches and the profiling session starts.

Custom Configurations

When you create a custom configuration you have complete control over all of the available internal settings for that profiling task. You can create, store, and assign names to separate sets of custom profiling settings. The custom configuration is associated with a specific project and is listed in the Select Profiling Task window when you profile the project. You can modify the custom configurations in the Select Profiling Task dialog box. Custom configurations are automatically saved between IDE work sessions so that they can be reused and modified.

To create a custom configuration:

  1. Select the project in the Projects window and choose Profile > Profile Project from the main menu.
  2. Click Memory in the left pane of the Select Task window to expand the button.
  3. Click Create Custom.
  4. Type a name for the configuration.
  5. Select the initial settings for the configuration and click OK.

    You then modify the initial settings when you customize the configuration.

  6. Select one of the following profiling options.
  7. Select any additional options in the Basic Settings pane.
  8. Click Advanced Settings and modify any of the advanced settings.

    The options that are available in the Advanced Settings pane depend upon the options that you select in the Basic Settings pane.

  9. Click Run.

When you click Run, the target application launches and the profiling task starts.

See Also
Selecting a Profiling Task
Setting Profiling Points
About Profiling Results

Legal Notices