<?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"
	>
<channel>
	<title>Comments on: Hotspot vs. virtual memory</title>
	<atom:link href="http://kennke.org/blog/2008/08/08/hotspot-vs-virtual-memory/feed/" rel="self" type="application/rss+xml" />
	<link>http://kennke.org/blog/2008/08/08/hotspot-vs-virtual-memory/</link>
	<description>Roman Kennke's ramblings</description>
	<pubDate>Tue, 06 Jan 2009 21:05:31 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: roman</title>
		<link>http://kennke.org/blog/2008/08/08/hotspot-vs-virtual-memory/#comment-64837</link>
		<dc:creator>roman</dc:creator>
		<pubDate>Fri, 12 Sep 2008 19:29:11 +0000</pubDate>
		<guid isPermaLink="false">http://kennke.org/blog/?p=191#comment-64837</guid>
		<description>Check out this blog entry, it was interesting:
  http://blogs.sun.com/jonthecollector/entry/our_collectors

I (Stølsvik) made some comments that got replied to, you might find
some of that interesting.</description>
		<content:encoded><![CDATA[<p>Check out this blog entry, it was interesting:<br />
  <a href="http://blogs.sun.com/jonthecollector/entry/our_collectors" rel="nofollow">http://blogs.sun.com/jonthecollector/entry/our_collectors</a></p>
<p>I (Stølsvik) made some comments that got replied to, you might find<br />
some of that interesting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jess Sightler</title>
		<link>http://kennke.org/blog/2008/08/08/hotspot-vs-virtual-memory/#comment-64761</link>
		<dc:creator>Jess Sightler</dc:creator>
		<pubDate>Fri, 08 Aug 2008 19:26:44 +0000</pubDate>
		<guid isPermaLink="false">http://kennke.org/blog/?p=191#comment-64761</guid>
		<description>Eclipse does that intentionally.  The alternative tends to be much worse.  Because in the Java VM (and all GC'ed managed languages that I've seen) the GC will tend to crawl a large area of the used memory every time it runs.  If this memory happens to be RAM that is swapped to disk, then you get mad swapping, and likely a complete app freeze while it works.

Eclipse used to be famous for this, as you'd switch to Firefox for a minute or two, then when you switched back to Eclipse you'd get the "white menu bar of doom" while it swapped everything back into memory for a GC sweep.

There are some workarounds, but they all basically involve the symptom that you describe, as they just heavily discourage the OS from swapping out your block of RAM.  I believe that Eclipse started using these workarounds on windows a couple of releases ago.

In general, VMs and Swap interact very badly, and this is just a sympton of that.</description>
		<content:encoded><![CDATA[<p>Eclipse does that intentionally.  The alternative tends to be much worse.  Because in the Java VM (and all GC&#8217;ed managed languages that I&#8217;ve seen) the GC will tend to crawl a large area of the used memory every time it runs.  If this memory happens to be RAM that is swapped to disk, then you get mad swapping, and likely a complete app freeze while it works.</p>
<p>Eclipse used to be famous for this, as you&#8217;d switch to Firefox for a minute or two, then when you switched back to Eclipse you&#8217;d get the &#8220;white menu bar of doom&#8221; while it swapped everything back into memory for a GC sweep.</p>
<p>There are some workarounds, but they all basically involve the symptom that you describe, as they just heavily discourage the OS from swapping out your block of RAM.  I believe that Eclipse started using these workarounds on windows a couple of releases ago.</p>
<p>In general, VMs and Swap interact very badly, and this is just a sympton of that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hotspot vs. virtual memory</title>
		<link>http://kennke.org/blog/2008/08/08/hotspot-vs-virtual-memory/#comment-64759</link>
		<dc:creator>Hotspot vs. virtual memory</dc:creator>
		<pubDate>Fri, 08 Aug 2008 10:45:19 +0000</pubDate>
		<guid isPermaLink="false">http://kennke.org/blog/?p=191#comment-64759</guid>
		<description>[...] http://kennke.org/blog/2008/08/08/hotspot-vs-virtual-memory/ asks Hoosgot, [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] <a href="http://kennke.org/blog/2008/08/08/hotspot-vs-virtual-memory/" rel="nofollow">http://kennke.org/blog/2008/08/08/hotspot-vs-virtual-memory/</a> asks Hoosgot, [&#8230;]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
