Troubleshoot Java Memory Thrash Using Allocation Tracking

Allocation Tracking tracks all the code paths and those business transactions that are allocating instances of a particular class. It detects those code path/business transactions that are creating and throwing away instances.

To use allocation tracking:

  1. Using the Drill Down option, trigger a diagnostic session.
  2. Click the Allocation Tracking tab.
  3. Click Start Allocation Tracking Session to start tracking code paths and business transactions.
  4. Enter the session duration and allow at least 1 to 2 minutes for data generation.
  5. Click Refresh to retrieve the session data.
  6. Click a session to view its details.
  7. Use the Information presented in the Code Paths and Business Transaction panels to identify the origin of the memory thrash problem.