<?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: Where did my OOM go?</title>
	<atom:link href="http://dow.ngra.de/2009/03/24/where-did-my-oom-go/feed/" rel="self" type="application/rss+xml" />
	<link>http://dow.ngra.de/2009/03/24/where-did-my-oom-go/</link>
	<description>no buzzwords allowed</description>
	<lastBuildDate>Wed, 01 Feb 2012 18:42:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Toomas Römer</title>
		<link>http://dow.ngra.de/2009/03/24/where-did-my-oom-go/comment-page-1/#comment-8974</link>
		<dc:creator>Toomas Römer</dc:creator>
		<pubDate>Wed, 25 Mar 2009 11:53:09 +0000</pubDate>
		<guid isPermaLink="false">http://dow.ngra.de/?p=785#comment-8974</guid>
		<description>The result will depend on the system, JDK version and available memory.

The idea behind the sample is that the heap usage is increased in such small doses that finally when there is an actual OOM it will propagate and just exit because there is not enough heap to construct the actual OOMError object.

I was not able to reproduce this with my JDK&#039;s running on Linux with lots of ram. The ram plays a role because starting from certain versions of JDK the default heap is actually dynamic depending on the amount of ram.

Of course the arraylist resize might not be that small and depends on the current size a lot. My JDK 1.5 shows: int newCapacity = (oldCapacity * 3)/2 + 1;

So actually when all the planets are aligned your production system will just halt without a single warning. Bedazzled looks follow as anything could have happened :)</description>
		<content:encoded><![CDATA[<p>The result will depend on the system, JDK version and available memory.</p>
<p>The idea behind the sample is that the heap usage is increased in such small doses that finally when there is an actual OOM it will propagate and just exit because there is not enough heap to construct the actual OOMError object.</p>
<p>I was not able to reproduce this with my JDK&#8217;s running on Linux with lots of ram. The ram plays a role because starting from certain versions of JDK the default heap is actually dynamic depending on the amount of ram.</p>
<p>Of course the arraylist resize might not be that small and depends on the current size a lot. My JDK 1.5 shows: int newCapacity = (oldCapacity * 3)/2 + 1;</p>
<p>So actually when all the planets are aligned your production system will just halt without a single warning. Bedazzled looks follow as anything could have happened :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KJ</title>
		<link>http://dow.ngra.de/2009/03/24/where-did-my-oom-go/comment-page-1/#comment-8973</link>
		<dc:creator>KJ</dc:creator>
		<pubDate>Wed, 25 Mar 2009 11:13:53 +0000</pubDate>
		<guid isPermaLink="false">http://dow.ngra.de/?p=785#comment-8973</guid>
		<description>Exception in thread &quot;main&quot; java.lang.OutOfMemoryError: Java heap space
        at java.lang.Integer.valueOf(Integer.java:585)</description>
		<content:encoded><![CDATA[<p>Exception in thread &#8220;main&#8221; java.lang.OutOfMemoryError: Java heap space<br />
        at java.lang.Integer.valueOf(Integer.java:585)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

