<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Finding Memory Leaks in Java Apps</title>
	<atom:link href="http://blog.emptyway.com/2007/04/02/finding-memory-leaks-in-java-apps/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.emptyway.com/2007/04/02/finding-memory-leaks-in-java-apps/</link>
	<description>Programming, Web and all things Computer.</description>
	<lastBuildDate>Thu, 11 Mar 2010 23:10:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Offline Memory Profiling &#171; SourceForge.net: Project drjava</title>
		<link>http://blog.emptyway.com/2007/04/02/finding-memory-leaks-in-java-apps/comment-page-1/#comment-38741</link>
		<dc:creator>Offline Memory Profiling &#171; SourceForge.net: Project drjava</dc:creator>
		<pubDate>Sat, 24 Oct 2009 22:24:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.emptyway.com/2007/04/02/finding-memory-leaks-in-java-apps/#comment-38741</guid>
		<description>[...] I want to discuss a little bit how I spotted this problem: There are two tools that Java provides, jmap and jhat (really starting with JDK6; unfortunately not supported on the Mac). jmap dumps the entire heap of a JVM into a file. jhat then analyzes that file and provides a HTML interface to browse the results. For more information, look at this article: Finding Memory Leaks in Java Apps. [...]</description>
		<content:encoded><![CDATA[<p>[...] I want to discuss a little bit how I spotted this problem: There are two tools that Java provides, jmap and jhat (really starting with JDK6; unfortunately not supported on the Mac). jmap dumps the entire heap of a JVM into a file. jhat then analyzes that file and provides a HTML interface to browse the results. For more information, look at this article: Finding Memory Leaks in Java Apps. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bozena</title>
		<link>http://blog.emptyway.com/2007/04/02/finding-memory-leaks-in-java-apps/comment-page-1/#comment-35445</link>
		<dc:creator>bozena</dc:creator>
		<pubDate>Fri, 10 Jul 2009 06:43:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.emptyway.com/2007/04/02/finding-memory-leaks-in-java-apps/#comment-35445</guid>
		<description>How to change the server parameters with Tomcat?
Actually, I am asking about the MBeans part and later...</description>
		<content:encoded><![CDATA[<p>How to change the server parameters with Tomcat?<br />
Actually, I am asking about the MBeans part and later&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shahryar Ghazi</title>
		<link>http://blog.emptyway.com/2007/04/02/finding-memory-leaks-in-java-apps/comment-page-1/#comment-29138</link>
		<dc:creator>Shahryar Ghazi</dc:creator>
		<pubDate>Wed, 29 Apr 2009 23:07:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.emptyway.com/2007/04/02/finding-memory-leaks-in-java-apps/#comment-29138</guid>
		<description>good job</description>
		<content:encoded><![CDATA[<p>good job</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John&#8217;s Blog &#187; Java memory leaks</title>
		<link>http://blog.emptyway.com/2007/04/02/finding-memory-leaks-in-java-apps/comment-page-1/#comment-27098</link>
		<dc:creator>John&#8217;s Blog &#187; Java memory leaks</dc:creator>
		<pubDate>Sat, 11 Apr 2009 02:14:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.emptyway.com/2007/04/02/finding-memory-leaks-in-java-apps/#comment-27098</guid>
		<description>[...] http://blog.emptyway.com/2007/04/02/finding-memory-leaks-in-java-apps/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://blog.emptyway.com/2007/04/02/finding-memory-leaks-in-java-apps/" rel="nofollow">http://blog.emptyway.com/2007/04/02/finding-memory-leaks-in-java-apps/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yuri</title>
		<link>http://blog.emptyway.com/2007/04/02/finding-memory-leaks-in-java-apps/comment-page-1/#comment-26042</link>
		<dc:creator>Yuri</dc:creator>
		<pubDate>Fri, 03 Apr 2009 07:41:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.emptyway.com/2007/04/02/finding-memory-leaks-in-java-apps/#comment-26042</guid>
		<description>That last part should have been:
Go to the MBeans tab en open:
com.sun.management
HotSpotDiagnostic
Operations
dumpHeap

(so you need to drill down just a bit further until you&#039;ve opened the dumpHeap operation).

Fill in ‘heapdump.bin’ in the ‘String’ inputbox en press ‘dumpHeap’.
Now go the directory where jboss was started (usually the ‘bin’ directory of JBoss) en open heapdump.bin with MAT.</description>
		<content:encoded><![CDATA[<p>That last part should have been:<br />
Go to the MBeans tab en open:<br />
com.sun.management<br />
HotSpotDiagnostic<br />
Operations<br />
dumpHeap</p>
<p>(so you need to drill down just a bit further until you&#8217;ve opened the dumpHeap operation).</p>
<p>Fill in ‘heapdump.bin’ in the ‘String’ inputbox en press ‘dumpHeap’.<br />
Now go the directory where jboss was started (usually the ‘bin’ directory of JBoss) en open heapdump.bin with MAT.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yuri</title>
		<link>http://blog.emptyway.com/2007/04/02/finding-memory-leaks-in-java-apps/comment-page-1/#comment-26041</link>
		<dc:creator>Yuri</dc:creator>
		<pubDate>Fri, 03 Apr 2009 07:39:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.emptyway.com/2007/04/02/finding-memory-leaks-in-java-apps/#comment-26041</guid>
		<description>@nanao:
Make sure JBoss is started with the following parameters:

-Dcom.sun.management.jmxremote.port=9998
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false

Then: start jconsole en connect to &#039;remote process&#039; with &#039;localhost:9998&#039;

Go to the MBeans tab en open: 
com.sun.management
HotSpotDiagnostic
Fill in &#039;heapdump.bin&#039; in the &#039;String&#039; inputbox en press &#039;dumpHeap&#039;.
Now go the directory where jboss was started (usually the &#039;bin&#039; directory of JBoss) en open heapdump.bin with MAT.

Good luck!</description>
		<content:encoded><![CDATA[<p>@nanao:<br />
Make sure JBoss is started with the following parameters:</p>
<p>-Dcom.sun.management.jmxremote.port=9998<br />
-Dcom.sun.management.jmxremote.authenticate=false<br />
-Dcom.sun.management.jmxremote.ssl=false</p>
<p>Then: start jconsole en connect to &#8216;remote process&#8217; with &#8216;localhost:9998&#8242;</p>
<p>Go to the MBeans tab en open:<br />
com.sun.management<br />
HotSpotDiagnostic<br />
Fill in &#8216;heapdump.bin&#8217; in the &#8216;String&#8217; inputbox en press &#8216;dumpHeap&#8217;.<br />
Now go the directory where jboss was started (usually the &#8216;bin&#8217; directory of JBoss) en open heapdump.bin with MAT.</p>
<p>Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nanao</title>
		<link>http://blog.emptyway.com/2007/04/02/finding-memory-leaks-in-java-apps/comment-page-1/#comment-24970</link>
		<dc:creator>nanao</dc:creator>
		<pubDate>Mon, 23 Mar 2009 17:52:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.emptyway.com/2007/04/02/finding-memory-leaks-in-java-apps/#comment-24970</guid>
		<description>hello, i&#039;m trying to find where memory leak is for a web app that is deployed by jboss or knopflerfish, when i run jps i don&#039;t see any pid; how to proceed?</description>
		<content:encoded><![CDATA[<p>hello, i&#8217;m trying to find where memory leak is for a web app that is deployed by jboss or knopflerfish, when i run jps i don&#8217;t see any pid; how to proceed?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: A Concurrent Affair &#187; Blog Archive &#187; Offline Memory Profiling</title>
		<link>http://blog.emptyway.com/2007/04/02/finding-memory-leaks-in-java-apps/comment-page-1/#comment-23826</link>
		<dc:creator>A Concurrent Affair &#187; Blog Archive &#187; Offline Memory Profiling</dc:creator>
		<pubDate>Tue, 10 Mar 2009 20:35:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.emptyway.com/2007/04/02/finding-memory-leaks-in-java-apps/#comment-23826</guid>
		<description>[...] I want to discuss a little bit how I spotted this problem: There are two tools that Java provides, jmap and jhat (really starting with JDK6; unfortunately not supported on the Mac). jmap dumps the entire heap of a JVM into a file. jhat then analyzes that file and provides a HTML interface to browse the results. For more information, look at this article: Finding Memory Leaks in Java Apps. [...]</description>
		<content:encoded><![CDATA[<p>[...] I want to discuss a little bit how I spotted this problem: There are two tools that Java provides, jmap and jhat (really starting with JDK6; unfortunately not supported on the Mac). jmap dumps the entire heap of a JVM into a file. jhat then analyzes that file and provides a HTML interface to browse the results. For more information, look at this article: Finding Memory Leaks in Java Apps. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vetrivel R</title>
		<link>http://blog.emptyway.com/2007/04/02/finding-memory-leaks-in-java-apps/comment-page-1/#comment-22099</link>
		<dc:creator>Vetrivel R</dc:creator>
		<pubDate>Wed, 11 Feb 2009 23:40:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.emptyway.com/2007/04/02/finding-memory-leaks-in-java-apps/#comment-22099</guid>
		<description>Good stuff, wakes up the latest techs to probe java memory leaks.</description>
		<content:encoded><![CDATA[<p>Good stuff, wakes up the latest techs to probe java memory leaks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Naveen Bethur</title>
		<link>http://blog.emptyway.com/2007/04/02/finding-memory-leaks-in-java-apps/comment-page-1/#comment-21211</link>
		<dc:creator>Naveen Bethur</dc:creator>
		<pubDate>Thu, 29 Jan 2009 02:46:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.emptyway.com/2007/04/02/finding-memory-leaks-in-java-apps/#comment-21211</guid>
		<description>Thanks a lot.....</description>
		<content:encoded><![CDATA[<p>Thanks a lot&#8230;..</p>
]]></content:encoded>
	</item>
</channel>
</rss>
