Profiling Tasks: Quick Reference

This topic describes common profiling tasks. For more detailed information, click the links in the right column.

To perform this task Follow these steps
Calibrate the profiler. You need to calibrate the profiler the first time you use your local JDK or a remote JDK for profiling.
Start profiling a local application.
  1. Do one of the following:
    • Select the project node in the Projects window and choose Profile > Profile Project in the main menu.
    • To profile a project that is set as the main project, choose Profile > Profile Main Project.
    • To profile an individual project, right-click the project in the Projects window and choose Profile Project.
  2. Select a profiling task.
  3. Click Run.
Modify a running profiling session.
  1. While a profiling session is in progress, choose Profile > Modify Profiling Session from the main menu. Alternatively, click Modify Profiling Session in the Profiler window.
  2. Select a Profiling Task.
  3. Click OK.
Profile a remote application.
  1. Choose Profile > Attach Profiler from the main menu.
  2. Click define in the Attach Settings dialog box.
  3. Generate and install the Profiler Remote Pack on the remote JVM if not already installed.
  4. Configure the startup options for the application for the remote attach method if not already configured.
  5. Start the remote application on the target JVM.
  6. Click Attach in the Attach Profiler dialog box.
Attach to a local application.
  1. Choose Profile > Attach Profiler from the main menu.
  2. Select the Project and a profiling task.
  3. Click define in the Attach Profiler dialog box.
  4. Select the Local as the target and select a connection method in the Attach Settings dialog box.
  5. Configure the startup options for the application, if necessary.
  6. Start the application on the target JVM.
  7. Click Attach in the Attach Profiler dialog box.
Stop a profiling session.
  • Choose Profile > Stop Profiling Session from the main menu.
Take a snapshot of profiling results.
  • While a profiling session is in progress, choose Profile > Take Snapshot of Collected Results from the main menu.
Take a heap dump.
  • While a profiling session is in progress, choose Profile > Take Heap Dump from the main menu.

Legal Notices