<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tim's Weblog &#187; tomcat5.5</title>
	<atom:link href="http://blog.hokkertjes.nl/tag/tomcat55/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.hokkertjes.nl</link>
	<description>Random Thoughts and Rants</description>
	<lastBuildDate>Sun, 05 Sep 2010 00:31:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Tomcat 5.5: java.lang.OutOfMemoryError: PermGen space</title>
		<link>http://blog.hokkertjes.nl/2009/01/12/tomcat-55-javalangoutofmemoryerror-permgen-space/</link>
		<comments>http://blog.hokkertjes.nl/2009/01/12/tomcat-55-javalangoutofmemoryerror-permgen-space/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 13:29:04 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jvm]]></category>
		<category><![CDATA[maxpermsize]]></category>
		<category><![CDATA[permgen]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[tomcat]]></category>
		<category><![CDATA[tomcat5.5]]></category>

		<guid isPermaLink="false">http://blog.hokkertjes.nl/?p=635</guid>
		<description><![CDATA[I so hate anything Java. There&#8217;s absolutely no way a sysadmin can maintain Java apps without diving into Java as a developer. The whole VM is so different from anything else in a system that you keep getting stumped by problems that are not very clear at first glance. Yes, of course it&#8217;s because of [...]]]></description>
			<content:encoded><![CDATA[<p>I so hate anything Java. There&#8217;s absolutely no way a sysadmin can maintain Java apps without diving into Java as a developer. The whole VM is so different from anything else in a system that you keep getting stumped by problems that are not very clear at first glance.</p>
<p>Yes, of course it&#8217;s because of my lack of knowledge about Java, but newsflash: I don&#8217;t want to learn a language to be able to maintain the platform.</p>
<p>I ran into a Tomcat instance that was giving errors like &#8220;java.lang.OutOfMemoryError: PermGen space&#8221;. My first inclination was to simply increase the -Xms and -Xmx options, since those were part of the config. Alas, it appears that &#8220;PermGen space&#8221; is not subject to these options. For that you need to add a -XX:MaxPermSize option. Aaargh!</p>
<p>Kudos to <a href="http://www.brokenbuild.com/blog/2006/08/04/java-jvm-gc-permgen-and-memory-options/">Wes Maldonado</a>, <a href="http://www.unixville.com/~moazam/stories/2004/05/17/maxpermsizeAndHowItRelatesToTheOverallHeap.html">Moazam Raja</a> and <a href="http://wiki.apache.org/tomcat/FAQ/Memory">the Apache/Tomcat FAQ</a> for helpful hints. Also interesting is <a href="http://ombhakar.blogspot.com/2007/05/permgen-outofmemory.html">this link about how the memory usage of a JVM is built up</a>.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Tags: <a class='technorati-link' href='http://technorati.com/tag/java' rel='tag' target='_self'>java</a>, <a class='technorati-link' href='http://technorati.com/tag/jvm' rel='tag' target='_self'>jvm</a>, <a class='technorati-link' href='http://technorati.com/tag/maxpermsize' rel='tag' target='_self'>maxpermsize</a>, <a class='technorati-link' href='http://technorati.com/tag/permgen' rel='tag' target='_self'>permgen</a>, <a class='technorati-link' href='http://technorati.com/tag/rant' rel='tag' target='_self'>rant</a>, <a class='technorati-link' href='http://technorati.com/tag/tomcat' rel='tag' target='_self'>tomcat</a>, <a class='technorati-link' href='http://technorati.com/tag/tomcat5.5' rel='tag' target='_self'>tomcat5.5</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://blog.hokkertjes.nl/2009/01/12/tomcat-55-javalangoutofmemoryerror-permgen-space/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
