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