⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.html

📁 跟踪检查Java内存溢出问题
💻 HTML
📖 第 1 页 / 共 5 页
字号:
style='mso-list:Ignore'>&middot;<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Shows gaps between objects by size</p>

<p style='margin-left:.5in;text-indent:-.25in;mso-list:l3 level1 lfo6;
tab-stops:list .5in'><![if !supportLists]><span style='font-family:Symbol;
mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol'><span
style='mso-list:Ignore'>&middot;<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Shows objects by size</p>

<p style='margin-left:.5in;text-indent:-.25in;mso-list:l3 level1 lfo6;
tab-stops:list .5in'><![if !supportLists]><span style='font-family:Symbol;
mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol'><span
style='mso-list:Ignore'>&middot;<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Shows objects by total size</p>

<p style='margin-left:.5in;text-indent:-.25in;mso-list:l3 level1 lfo6;
tab-stops:list .5in'><![if !supportLists]><span style='font-family:Symbol;
mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol'><span
style='mso-list:Ignore'>&middot;<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Shows objects by number of child</p>

<p style='margin-left:.5in;text-indent:-.25in;mso-list:l3 level1 lfo6;
tab-stops:list .5in'><![if !supportLists]><span style='font-family:Symbol;
mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol'><span
style='mso-list:Ignore'>&middot;<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Shows types by size</p>

<p style='margin-left:.5in;text-indent:-.25in;mso-list:l3 level1 lfo6;
tab-stops:list .5in'><![if !supportLists]><span style='font-family:Symbol;
mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol'><span
style='mso-list:Ignore'>&middot;<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Shows types by count/frequency</p>

<p style='margin-left:.5in;text-indent:-.25in;mso-list:l3 level1 lfo6;
tab-stops:list .5in'><![if !supportLists]><span style='font-family:Symbol;
mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol'><span
style='mso-list:Ignore'>&middot;<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Shows types alphabetical order</p>

<p style='margin-left:.5in;text-indent:-.25in;mso-list:l3 level1 lfo6;
tab-stops:list .5in'><![if !supportLists]><span style='font-family:Symbol;
mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol'><span
style='mso-list:Ignore'>&middot;<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Shows gap distribution chart</p>

<p style='margin-left:.5in;text-indent:-.25in;mso-list:l3 level1 lfo6;
tab-stops:list .5in'><![if !supportLists]><span style='font-family:Symbol;
mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol'><span
style='mso-list:Ignore'>&middot;<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Shows detailed information of an object</p>

<p style='margin-left:.5in;text-indent:-.25in;mso-list:l3 level1 lfo6;
tab-stops:list .5in left 217.5pt'><![if !supportLists]><span style='font-family:
Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol'><span
style='mso-list:Ignore'>&middot;<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Finds type with regular expression</p>

<p style='margin-left:.5in;text-indent:-.25in;mso-list:l3 level1 lfo6;
tab-stops:list .5in left 217.5pt'><![if !supportLists]><span style='font-family:
Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol'><span
style='mso-list:Ignore'>&middot;<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Drag and drop support in input fields, tree and
text</p>

<p style='margin-left:.5in;text-indent:-.25in;mso-list:l3 level1 lfo6;
tab-stops:list .5in left 217.5pt'><![if !supportLists]><span style='font-family:
Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol'><span
style='mso-list:Ignore'>&middot;<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Bookmarks in tree navigation</p>

<p style='margin-left:.5in;text-indent:-.25in;mso-list:l3 level1 lfo6;
tab-stops:list .5in left 217.5pt'><![if !supportLists]><span style='font-family:
Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol'><span
style='mso-list:Ignore'>&middot;<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Saves/Loads processed heap dumps</p>

<p style='margin-left:.5in;text-indent:-.25in;mso-list:l3 level1 lfo6;
tab-stops:list .5in left 217.5pt'><![if !supportLists]><span style='font-family:
Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol'><span
style='mso-list:Ignore'>&middot;<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Locates possible leak suspects</p>

<p style='tab-stops:217.5pt'><span style='mso-tab-count:1'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></p>

<p><b style='mso-bidi-font-weight:normal'><span style='font-size:20.0pt'>How to
run this tool<o:p></o:p></span></b></p>

<p>You need to use the Java 2 Platform, Standard Edition version 1.4.1 or
higher Java Runtime Environment (JRE) to run this tool.<span style='mso-bidi-font-size:
20.0pt'><o:p></o:p></span></p>

<p>Usage &lt;Java path&gt;java &#8211;<span class=SpellE><span class=GramE>Xmx</span></span><span
class=GramE>[</span><span class=SpellE>heapsize</span>] &#8211;jar ha&lt;<span
class=SpellE>HeapAnalyzer</span> version&gt;.jar</p>

<p>For example, java &#8211;Xmx1000m &#8211;jar ha11.jar</p>

<p>If there&#8217;s <span class=SpellE>java.lang.OutOfMemoryError</span> while
you are processing <span class=SpellE>heapdumps</span>, please try increasing
the maximum heap size (-<span class=SpellE>Xmx</span>) value to give the JVM
more memory.</p>

<p>Maximum heap size should not be larger than the size of available physical
memory size for this tool due to performance issue.</p>

<p style='margin:0in;margin-bottom:.0001pt'>Feel free to contact me if you have
any comments or suggestions.</p>

<p style='margin:0in;margin-bottom:.0001pt'><o:p>&nbsp;</o:p></p>

<p style='margin:0in;margin-bottom:.0001pt'><o:p>&nbsp;</o:p></p>

<p style='margin:0in;margin-bottom:.0001pt'>1. Start the HeapAnalyzer</p>

<p style='margin:0in;margin-bottom:.0001pt'><o:p>&nbsp;</o:p></p>

<p style='margin:0in;margin-bottom:.0001pt'><!--[if gte vml 1]><v:shapetype
 id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t"
 path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f">
 <v:stroke joinstyle="miter"/>
 <v:formulas>
  <v:f eqn="if lineDrawn pixelLineWidth 0"/>
  <v:f eqn="sum @0 1 0"/>
  <v:f eqn="sum 0 0 @1"/>
  <v:f eqn="prod @2 1 2"/>
  <v:f eqn="prod @3 21600 pixelWidth"/>
  <v:f eqn="prod @3 21600 pixelHeight"/>
  <v:f eqn="sum @0 0 1"/>
  <v:f eqn="prod @6 1 2"/>
  <v:f eqn="prod @7 21600 pixelWidth"/>
  <v:f eqn="sum @8 21600 0"/>
  <v:f eqn="prod @7 21600 pixelHeight"/>
  <v:f eqn="sum @10 21600 0"/>
 </v:formulas>
 <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
 <o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="_x0000_i1025" type="#_x0000_t75" style='width:345pt;
 height:399pt'>
 <v:imagedata src="readme_files/image001.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img width=460 height=532
src="readme_files/image002.jpg" v:shapes="_x0000_i1025"><![endif]></p>

<p style='margin:0in;margin-bottom:.0001pt'><o:p>&nbsp;</o:p></p>

<p style='margin:0in;margin-bottom:.0001pt'>[Initial screen]</p>

<p style='margin:0in;margin-bottom:.0001pt'><o:p>&nbsp;</o:p></p>

<p style='margin:0in;margin-bottom:.0001pt'>2. Select File -&gt; Open and
select a heapdump file</p>

<p style='margin:0in;margin-bottom:.0001pt'><o:p>&nbsp;</o:p></p>

<p style='margin:0in;margin-bottom:.0001pt'><!--[if gte vml 1]><v:shape id="_x0000_i1026"
 type="#_x0000_t75" style='width:399.75pt;height:264.75pt'>
 <v:imagedata src="readme_files/image003.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img width=533 height=353
src="readme_files/image004.jpg" v:shapes="_x0000_i1026"><![endif]></p>

<p style='margin:0in;margin-bottom:.0001pt'><o:p>&nbsp;</o:p></p>

<p style='margin:0in;margin-bottom:.0001pt'>Select IBM heap dump text file, IBM
portable heap dump or <span class=SpellE>HeapAnalyzer</span> processed file to
process a heap dump.</p>

<p style='margin:0in;margin-bottom:.0001pt'><o:p>&nbsp;</o:p></p>

<p style='margin:0in;margin-bottom:.0001pt'><o:p>&nbsp;</o:p></p>

<p style='margin:0in;margin-bottom:.0001pt'>3.<span
style='mso-spacerun:yes'>&nbsp; </span>Progress is shown during processing heapdump.</p>

<p style='margin:0in;margin-bottom:.0001pt'><o:p>&nbsp;</o:p></p>

<p style='margin:0in;margin-bottom:.0001pt'><!--[if gte vml 1]><v:shape id="_x0000_i1027"
 type="#_x0000_t75" style='width:319.5pt;height:138pt'>
 <v:imagedata src="readme_files/image005.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img width=426 height=184
src="readme_files/image006.jpg" v:shapes="_x0000_i1027"><![endif]></p>

<p style='margin:0in;margin-bottom:.0001pt'><o:p>&nbsp;</o:p></p>

<p style='margin:0in;margin-bottom:.0001pt'><o:p>&nbsp;</o:p></p>

<p style='margin:0in;margin-bottom:.0001pt'>4. It would take lots of time if
you are processing large heapdump. The following is the screen when processing
is complete.</p>

<p style='margin:0in;margin-bottom:.0001pt'>Please do not close this window
until you do not need this heapdump.</p>

<p style='margin:0in;margin-bottom:.0001pt'><o:p>&nbsp;</o:p></p>

<p style='margin:0in;margin-bottom:.0001pt'><!--[if gte vml 1]><v:shape id="_x0000_i1028"
 type="#_x0000_t75" style='width:345pt;height:399pt'>
 <v:imagedata src="readme_files/image007.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img width=460 height=532
src="readme_files/image008.jpg" v:shapes="_x0000_i1028"><![endif]></p>

<p style='margin:0in;margin-bottom:.0001pt'><o:p>&nbsp;</o:p></p>

<p style='margin:0in;margin-bottom:.0001pt'>Click on Analysis menu and select
Tree view menu item to analyze heap tree.</p>

<p style='margin:0in;margin-bottom:.0001pt'><o:p>&nbsp;</o:p></p>

<p style='margin:0in;margin-bottom:.0001pt'><!--[if gte vml 1]><v:shape id="_x0000_i1029"
 type="#_x0000_t75" style='width:345pt;height:399pt'>
 <v:imagedata src="readme_files/image009.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img width=460 height=532
src="readme_files/image010.jpg" v:shapes="_x0000_i1029"><![endif]></p>

<p style='margin:0in;margin-bottom:.0001pt'><o:p>&nbsp;</o:p></p>

<p style='margin:0in;margin-bottom:.0001pt'>5. The following is tree view of
the heapdump.</p>

<p>The icon<span class=GramE>, </span><!--[if gte vml 1]><v:shape id="_x0000_i1030"
 type="#_x0000_t75" style='width:11.25pt;height:11.25pt'>
 <v:imagedata src="readme_files/image011.gif" o:title="&#19;&#49848;!&#49856;!&nbsp;"/>
</v:shape><![endif]--><![if !vml]><img width=15 height=15
src="readme_files/image011.gif" v:shapes="_x0000_i1030"><![endif]>,<span
style='mso-spacerun:yes'>&nbsp; </span>indicates that it has already been
included as a child object of owner object in tree view</p>

<p>Each tree node as in the following format:</p>

<p><span class=SpellE><span class=GramE>TotalSize</span></span><span
class=GramE>[</span>Size] <span class=SpellE>NumberOfChildObject</span>(Number
of root objects) Name Address</p>

<p>There are 6,494 root objects in this heap dump.</p>

<p style='margin:0in;margin-bottom:.0001pt'><!--[if gte vml 1]><v:shape id="_x0000_i1031"
 type="#_x0000_t75" style='width:345pt;height:399pt'>
 <v:imagedata src="readme_files/image012.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img width=460 height=532
src="readme_files/image013.jpg" v:shapes="_x0000_i1031"><![endif]></p>

<p style='margin:0in;margin-bottom:.0001pt'><o:p>&nbsp;</o:p></p>

<p style='margin:0in;margin-bottom:.0001pt'><o:p>&nbsp;</o:p></p>

<p style='margin:0in;margin-bottom:.0001pt'><o:p>&nbsp;</o:p></p>

<p style='margin:0in;margin-bottom:.0001pt'>6. In tree view, you can see
detailed information of a node , you can search for total size drop between
parent and child</p>

<p style='margin:0in;margin-bottom:.0001pt'>or you can find an address by
selecting a node and click on right mouse button.</p>

<p style='margin:0in;margin-bottom:.0001pt'><o:p>&nbsp;</o:p></p>

<p style='margin:0in;margin-bottom:.0001pt'><!--[if gte vml 1]><v:shape id="_x0000_i1032"
 type="#_x0000_t75" style='width:345pt;height:399pt'>
 <v:imagedata src="readme_files/image014.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img width=460 height=532
src="readme_files/image015.jpg" v:shapes="_x0000_i1032"><![endif]></p>

<p style='margin:0in;margin-bottom:.0001pt'><o:p>&nbsp;</o:p></p>

<p style='margin:0in;margin-bottom:.0001pt'>&#8220;Search for total size
drop&#8221; will find a size drop between the total size of a parent </p>

<p style='margin:0in;margin-bottom:.0001pt'>and the biggest total size of child
of the parent.</p>

<p style='margin:0in;margin-bottom:.0001pt'>If you cannot find any size drop
from the menu &#8220;Search for total size drop&#8221;, you need to decrease</p>

<p style='margin:0in;margin-bottom:.0001pt'>Minimum total size drop for search
in options.</p>

<p style='margin:0in;margin-bottom:.0001pt'><o:p>&nbsp;</o:p></p>

<p style='margin:0in;margin-bottom:.0001pt'><!--[if gte vml 1]><v:shape id="_x0000_i1033"
 type="#_x0000_t75" style='width:495.75pt;height:86.25pt'>
 <v:imagedata src="readme_files/image016.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img width=661 height=115
src="readme_files/image017.jpg" v:shapes="_x0000_i1033"><![endif]></p>

<p style='margin:0in;margin-bottom:.0001pt'><o:p>&nbsp;</o:p></p>

<p style='margin:0in;margin-bottom:.0001pt'><o:p>&nbsp;</o:p></p>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -