<?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>Stabbymonkey.org &#187; mxmlc</title>
	<atom:link href="http://www.stabbymonkey.org/archives/tag/mxmlc/feed" rel="self" type="application/rss+xml" />
	<link>http://www.stabbymonkey.org</link>
	<description>Flash, Games, Movies, and Monkeys with Knives.</description>
	<lastBuildDate>Thu, 25 Aug 2011 05:03:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>mxmlc: &#8220;java heap space&#8221; crash</title>
		<link>http://www.stabbymonkey.org/archives/100</link>
		<comments>http://www.stabbymonkey.org/archives/100#comments</comments>
		<pubDate>Mon, 02 Nov 2009 17:33:34 +0000</pubDate>
		<dc:creator>Mantic</dc:creator>
				<category><![CDATA[flash]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[mxmlc]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.stabbymonkey.org/?p=100</guid>
		<description><![CDATA[Ever hit a &#8220;Java heap space&#8221; crash while running Flash&#8217;s command-line compiler: mxmlc? There are two ways to fix it: 1. Go to your SDK bin directory in a terminal window. (mac with FB: /Applications/Adobe Flex Builder 3/sdks/3.3.0/bin) Mac / Linux: 2. edit the &#8216;mxmlc&#8217; file, look for the &#8220;VMARGS=&#8230;&#8221; line, and change the &#8220;Xmx384m&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>Ever hit a &#8220;Java heap space&#8221; crash while running Flash&#8217;s command-line compiler: mxmlc? There are two ways to fix it:</p>
<p>1. Go to your SDK bin directory in a terminal window.  (mac with FB: /Applications/Adobe Flex Builder 3/sdks/3.3.0/bin)</p>
<p>Mac / Linux:<br />
   2. edit the &#8216;mxmlc&#8217; file, look for the &#8220;VMARGS=&#8230;&#8221; line, and change the &#8220;Xmx384m&#8221; to &#8220;Xmx684m&#8221;.</p>
<p>Windows:<br />
   2. edit &#8220;jvm.config&#8221; and edit the line starting with &#8220;java.args=&#8230;&#8221;, change &#8220;Xmx348m&#8221; to &#8220;Xmx648m&#8221;.</p>
<p>3. The &#8220;648&#8243; is the maximum heap size (in megabytes) that the JVM will allocate for the compiling process. You can change this to suit your needs. </p>
<p>If you&#8217;re not sure how much memory you&#8217;ll need, set it to 1024 (a gig) or so, and compile your app with the &#8220;-benchmark&#8221; arg. That&#8217;ll tell you how much memory was used to compile your app, and you can adjust the final size to be somewhere above what it used.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stabbymonkey.org/archives/100/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

