<?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>Eric Fickes &#187; java heap space</title>
	<atom:link href="http://ericfickes.com/tag/java-heap-space/feed/" rel="self" type="application/rss+xml" />
	<link>http://ericfickes.com</link>
	<description>Design minded Internet Programmer</description>
	<lastBuildDate>Fri, 28 Oct 2011 04:14:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>OSX FlexBuilder Java Heap Space error</title>
		<link>http://ericfickes.com/2008/10/osx-flexbuilder-java-heap-space-error/</link>
		<comments>http://ericfickes.com/2008/10/osx-flexbuilder-java-heap-space-error/#comments</comments>
		<pubDate>Fri, 10 Oct 2008 01:58:27 +0000</pubDate>
		<dc:creator>Eric Fickes</dc:creator>
				<category><![CDATA[FLEX]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[flexbuilder]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[java heap space]]></category>
		<category><![CDATA[Xmx640m]]></category>

		<guid isPermaLink="false">http://ericfickes.com/?p=151</guid>
		<description><![CDATA[Here&#8217;s an error I&#8217;ve run into from time to time while programming Flex on OSX [compc] Error: Java heap space [compc] java.lang.OutOfMemoryError: Java heap space This error was a real pain in the arse. I found a lot of people &#8230; <a href="http://ericfickes.com/2008/10/osx-flexbuilder-java-heap-space-error/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s an error I&#8217;ve run into from time to time while programming Flex on OSX<br />
<code> </code></p>
<pre><span style="color: #ff6600;">	[compc] Error: Java heap space
	[compc] java.lang.OutOfMemoryError: Java heap space	</span></pre>
<p>This error was a real pain in the arse.  I found a lot of people having similar issues and they all fixed this problem by setting ANT_OPTS as an environment variable to increase the memory size.  This didn&#8217;t work for me.  I set ANT_OPTS in my .profile, as well as in .MacOSX/environment.plist.  No luck.   I never figured out why the environment variable route didn&#8217;t work, but I was able to fix this error within Eclipse.</p>
<p>If you run into this error while running Ant build scripts, try the following steps.</p>
<ol>
<li>Run Menu &gt; External Tools &gt; Open External Tools Dialog&#8230;</li>
<li>Select your Ant build file on the left</li>
<li>Click the JRE tab on the right</li>
<li>Enter &#8220;-Xmx640m&#8221; in the VM arguments field ( without quotes )</li>
<li>Click Apply, then Run</li>
</ol>
<div id="attachment_152" class="wp-caption alignnone" style="width: 510px"><img class="size-full wp-image-152" title="eclipse-jre-arguments" src="http://ericfickes.com/wp-content/uploads/2008/10/eclipse-jre-arguments.png" alt="Flex JVM preferences" width="500" height="195" /><p class="wp-caption-text">Flex JRE preferences</p></div>
<p>Hopefully this will get you going.</p>
]]></content:encoded>
			<wfw:commentRss>http://ericfickes.com/2008/10/osx-flexbuilder-java-heap-space-error/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

