## 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:
   - To profile the main project, choose Profile > Profile Main Project.
   - To profile any individual project, right-click the project 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. Select the Project from the dropdown list at the top of the Select Profiling Task dialog box.
3. Configure the attach mode.
4. Configure the remote location to support profiling.
5. Select a profiling task.
6. Click Attach.

Attach to a local application.

1. Configure the target JVM to support profiling.
2. Start the application on the target JVM.
3. Choose Profile > Attach Profiler from the main menu.
4. Select the project.
5. Configure the attach mode.
6. Click Attach.

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 Snaphot 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