<?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: Does Java garbage collection guarantee that a program will not run out of memory?</title>
	<atom:link href="http://javapapers.com/core-java/does-java-garbage-collection-guarantee-that-a-program-will-not-run-out-of-memory/feed/" rel="self" type="application/rss+xml" />
	<link>http://javapapers.com/core-java/does-java-garbage-collection-guarantee-that-a-program-will-not-run-out-of-memory/</link>
	<description>Blog on core java, servlets, jsp and design patterns.</description>
	<lastBuildDate>Mon, 04 Jun 2012 02:04:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Anonymous</title>
		<link>http://javapapers.com/core-java/does-java-garbage-collection-guarantee-that-a-program-will-not-run-out-of-memory/#comment-11992</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 16 May 2012 09:32:23 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=19#comment-11992</guid>
		<description>No the garbage collector does not gaurentee that the program will run out of memeory.</description>
		<content:encoded><![CDATA[<p>No the garbage collector does not gaurentee that the program will run out of memeory.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://javapapers.com/core-java/does-java-garbage-collection-guarantee-that-a-program-will-not-run-out-of-memory/#comment-10801</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Sat, 24 Mar 2012 17:17:37 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=19#comment-10801</guid>
		<description>Thanks Souvik. Sure I will do.</description>
		<content:encoded><![CDATA[<p>Thanks Souvik. Sure I will do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Souvik Banerjee</title>
		<link>http://javapapers.com/core-java/does-java-garbage-collection-guarantee-that-a-program-will-not-run-out-of-memory/#comment-10763</link>
		<dc:creator>Souvik Banerjee</dc:creator>
		<pubDate>Thu, 22 Mar 2012 12:10:49 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=19#comment-10763</guid>
		<description>Not related to this article, but it would be good if you can open the facebook, twitter etc links on a new tab using target=&quot;_blank&quot; in your &lt;a&gt; tag.</description>
		<content:encoded><![CDATA[<p>Not related to this article, but it would be good if you can open the facebook, twitter etc links on a new tab using target=&#8221;_blank&#8221; in your <a> tag.</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arnab Nandan</title>
		<link>http://javapapers.com/core-java/does-java-garbage-collection-guarantee-that-a-program-will-not-run-out-of-memory/#comment-10158</link>
		<dc:creator>Arnab Nandan</dc:creator>
		<pubDate>Tue, 21 Feb 2012 07:16:26 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=19#comment-10158</guid>
		<description>Static references are not eligible for garbage collection.</description>
		<content:encoded><![CDATA[<p>Static references are not eligible for garbage collection.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://javapapers.com/core-java/does-java-garbage-collection-guarantee-that-a-program-will-not-run-out-of-memory/#comment-9842</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 08 Feb 2012 12:09:29 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=19#comment-9842</guid>
		<description>Are Static Objects eligible for Garbage Collection???</description>
		<content:encoded><![CDATA[<p>Are Static Objects eligible for Garbage Collection???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bhaskar</title>
		<link>http://javapapers.com/core-java/does-java-garbage-collection-guarantee-that-a-program-will-not-run-out-of-memory/#comment-9841</link>
		<dc:creator>Bhaskar</dc:creator>
		<pubDate>Wed, 08 Feb 2012 12:08:40 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=19#comment-9841</guid>
		<description>The object is eligible for garbage collection only if there is no strong reference to the object. 

An exception to this is island of references(where all objects point to each other).

One should never write his/her significant code in the object&#039;s finalise method because you can never be very sure that it will run. 

Finalise method runs only once in the life-time of an object. So even if you re-initialise an object in its finalize code, it can become eligible for garbage collection(if there is no strong reference to the object) and its finalise method won&#039;t be called again</description>
		<content:encoded><![CDATA[<p>The object is eligible for garbage collection only if there is no strong reference to the object. </p>
<p>An exception to this is island of references(where all objects point to each other).</p>
<p>One should never write his/her significant code in the object&#8217;s finalise method because you can never be very sure that it will run. </p>
<p>Finalise method runs only once in the life-time of an object. So even if you re-initialise an object in its finalize code, it can become eligible for garbage collection(if there is no strong reference to the object) and its finalise method won&#8217;t be called again</p>
]]></content:encoded>
	</item>
</channel>
</rss>

