-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Help and a cheat sheet Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=561460 Change-Id: I8990c187dc9b4aacdef60105a6100e5629362b8d
- Loading branch information
Showing
5 changed files
with
85 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Copyright (c) 2020 IBM Corporation | ||
All rights reserved. This program and the accompanying materials | ||
are made available under the terms of the Eclipse Public License v1.0 | ||
which accompanies this distribution, and is available at | ||
http://www.eclipse.org/legal/epl-v10.html | ||
Contributors: | ||
Andrew Johnson (IBM Corporation) - initial API and implementation | ||
--> | ||
<cheatsheet | ||
title="Acquire and Compare Heap Dumps"> | ||
<!-- | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="org.eclipse.ui.cheatsheets platform:/resource/org.eclipse.mat.ui.help/schema/cheatSheetContentFileSpec.xsd" | ||
xmlns="org.eclipse.ui.cheatsheets" | ||
--> | ||
<intro> | ||
<description> | ||
MAT can acquire dumps from processes running on the same machine. | ||
</description> | ||
</intro> | ||
<item | ||
title="Acquire a heap dump"> | ||
<description> | ||
The <b>File > Acquire Heap Dump ...</b> menu item lists running Java processes | ||
on the machine. | ||
Select one of the processes, for example one with <b>Memory Analyzer</b> | ||
in the description and click <b>Finish</b>. | ||
If no processes appear, or fewer than expected then use the <b>Configure ...</b> | ||
to control how processes are found. | ||
</description> | ||
<command | ||
required="false" | ||
serialization="org.eclipse.mat.ui.acquire.HeapDump"/> | ||
</item> | ||
<item | ||
title="Analyze the heap dump"> | ||
<description> | ||
Continue the analysis of the new heap dump as shown in other cheat sheets. | ||
</description> | ||
</item> | ||
<item | ||
title="Acquire a second heap dump"> | ||
<description> | ||
The <b>File > Acquire Heap Dump ...</b> menu item lists running Java processes | ||
on the machine. | ||
Select the same process as before, for example one with <b>Memory Analyzer</b> | ||
in the description and click <b>Finish</b>. | ||
If no processes appear, or fewer than expected then use the <b>Configure ...</b> | ||
to control how processes are found. | ||
</description> | ||
<command | ||
required="false" | ||
serialization="org.eclipse.mat.ui.acquire.HeapDump"/> | ||
</item> | ||
<item | ||
title="Comparing snapshots"> | ||
<description> | ||
Use the <b>Leak Identification > Compare Snapshots Leak Report</b> | ||
to run a report comparing two snapshots. | ||
For the baseline, chose the first snapshot generated above. | ||
Next, click <b>Finish</b>, wait for the report to complete then | ||
read the report. | ||
</description> | ||
<command | ||
required="false" | ||
serialization="org.eclipse.mat.ui.actions.executeInspection(org.eclipse.mat.ui.actions.executeInspection.commandName=comparison_report)"/> | ||
</item> | ||
</cheatsheet> |