<?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>undefined-type &#187; memory</title>
	<atom:link href="http://undefined-type.com/tag/memory/feed/" rel="self" type="application/rss+xml" />
	<link>http://undefined-type.com</link>
	<description>Flex,Flash &#38; AIR</description>
	<lastBuildDate>Wed, 18 Nov 2009 09:48:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Tip of the day: Publish Time &amp; Memory Increase</title>
		<link>http://undefined-type.com/2009/04/tip-of-the-day-publish-time-memory-increase/</link>
		<comments>http://undefined-type.com/2009/04/tip-of-the-day-publish-time-memory-increase/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 22:32:53 +0000</pubDate>
		<dc:creator>Bäcker</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[swc]]></category>

		<guid isPermaLink="false">http://undefined-type.com/?p=520</guid>
		<description><![CDATA[<script type="text/javascript" src="http://undefined-type.com/wp-includes/js/jquery/jquery.js"></script><script type="text/javascript" src="http://undefined-type.com/wp-content/plugins/pb-embedflash/js/sbadapter/shadowbox-jquery.js"></script><script type="text/javascript" src="http://undefined-type.com/wp-content/plugins/pb-embedflash/js/shadowbox.js"></script><script type="text/javascript"><!--
window.onload = function() {var options ={assetURL:'',loadingImage:'http://undefined-type.com/wp-content/plugins/pb-embedflash/css/images/loading.gif',flvPlayer:'http://undefined-type.com/wp-content/plugins/pb-embedflash/swf/mediaplayer.swf',animate:true,animSequence:'wh',overlayColor:'#000',overlayOpacity:0.85,overlayBgImage:'http://undefined-type.com/wp-content/plugins/pb-embedflash/css/images/overlay-85.png',listenOverlay:true,autoplayMovies:true,showMovieControls:true,resizeDuration:0.35,fadeDuration:0.35,displayNav:true,continuous:false,displayCounter:true,counterType:'default',viewportPadding:20,handleLgImages:'resize',initialHeight:160,initialWidth:320,enableKeys:true,keysClose:['c', 'q', 27],keysPrev:['p', 37],keysNext:['n', 39],handleUnsupported:'',text: {cancel:'Cancel',loading: 'loading',close:'<span class="shortcut">C</span>lose',next:'<span class="shortcut">N</span>ext',prev:'<span class="shortcut">P</span>revious',errors:{single: 'You must install the <a href="{0}">{1}</a> browser plugin to view this content.',shared: 'You must install both the <a href="{0}">{1}</a> and <a href="{2}">{3}</a> browser plugins to view this content.',either: 'You must install either the <a href="{0}">{1}</a> or the <a href="{2}">{3}</a> browser plugin to view this content.'}}};Shadowbox.init(options);}
--></script>At my company &#8220;Hello There&#8221; we are currently developing a really cool game that is built on the base of Papervision 3D 2.0 (Great White). We suddenly run into a really really annoying problem.
I could publish the Flash files without any complication but the other two team members couldn&#8217;t, and we have the same set [...]]]></description>
			<content:encoded><![CDATA[<p>At my company &#8220;Hello There&#8221; we are currently developing a really cool game that is built on the base of <a href="http://code.google.com/p/papervision3d/" target="_blank">Papervision 3D 2.0 (Great White)</a>. We suddenly run into a really really annoying problem.</p>
<p>I could publish the Flash files without any complication but the other two team members couldn&#8217;t, and we have the same set of workstations. After a lot of searching it seems somehow that it&#8217;s a memory problem and some suggestions points to changing JAVA memory, well, we didn&#8217;t get that to work either so we took another solution.</p>
<p>By making the Papervision package to a SWC file it&#8217;s already compiled and takes less memory for Flash. If you have a bigger framework you should as well take your time to create a SWC package for it. The publish time will decrease and your will be working happily ever after =)</p>
<p><strong>TIP: Use more SWC, will speed up your work &amp; use less memory.</strong></p>
<p>If you have Flex, here is an easy tutorial on how to create your SWC package.<br />
1.) Create a &#8220;Flex Library Project&#8221;.<br />
2.) Add your code that you want to compile.<br />
3.) Right click on the project, Properties-&gt;Flex Builder Path<br />
4.) Mark all the packages that you want to compile<br />
5.) Finish, just refresh the project to make sure everything is compiled when you change anything. The SWC file is placed in the /bin folder. Ready to use for Flex &amp; Flash.</p>
<p>Did a really short video;<br />
<small>(Please open the article to see the flash file or player.)</small>.</p>
]]></content:encoded>
			<wfw:commentRss>http://undefined-type.com/2009/04/tip-of-the-day-publish-time-memory-increase/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex Memory on Mac</title>
		<link>http://undefined-type.com/2008/09/flex-memory-on-mac/</link>
		<comments>http://undefined-type.com/2008/09/flex-memory-on-mac/#comments</comments>
		<pubDate>Thu, 18 Sep 2008 17:58:53 +0000</pubDate>
		<dc:creator>Bäcker</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[memory]]></category>

		<guid isPermaLink="false">http://localhost/undefined_type_/?p=176</guid>
		<description><![CDATA[Having problem when developing Flex sites with the memory, is it to slow? No probs, lets kick it up a notch.
1.) Go into Flex Package Content, CTRL+&#8221;Mouse Click&#8221; on the Flex Builder 3 file and select &#8220;Show Package Content&#8221;

2.) Go into Contents -&#62; MacOS and open &#8220;FlexBuilder.ini&#8221;.
3.) Change memory to what you want.
-Xms = Minimum [...]]]></description>
			<content:encoded><![CDATA[<p>Having problem when developing Flex sites with the memory, is it to slow? No probs, lets kick it up a notch.</p>
<p>1.) Go into Flex Package Content, CTRL+&#8221;Mouse Click&#8221; on the Flex Builder 3 file and select &#8220;Show Package Content&#8221;</p>
<p><a href="http://undefined-type.com/wp-content/flex_memory_1.png" rel="lightbox[176]"><img class="alignnone size-full wp-image-245" title="flex_memory_1" src="http://undefined-type.com/wp-content/flex_memory_1.png" alt="flex_memory_1" width="394" height="136" /></a></p>
<p>2.) Go into Contents -&gt; MacOS and open &#8220;FlexBuilder.ini&#8221;.</p>
<p>3.) Change memory to what you want.<br />
-Xms = Minimum Memory<br />
-Xmx = Maximum Memory</p>
<p><a href="http://undefined-type.com/wp-content/flex_memory_2.png" rel="lightbox[176]"><img class="alignnone size-full wp-image-246" title="flex_memory_2" src="http://undefined-type.com/wp-content/flex_memory_2.png" alt="flex_memory_2" width="366" height="204" /></a></p>
<p>So change the Xmx to a higher value, e.g.<br />
-Xmx1024m</p>
<p><strong>Ant Script</strong><br />
This doesn&#8217;t work if memory isn&#8217;t enought for running ant scripts. If this is your problem, try this.<br />
1.) Open Flex Builder<br />
2.) Window -&gt; Preferences -&gt; Java -&gt; Installed JREs<br />
3.) Mark the JVM package that you are using when running the Ant script and click &#8220;Edit&#8221;.<br />
4.) Add memory properties to the &#8220;Default VM Arguments&#8221;, e.g. &#8220;-Xmx1024m&#8221;.</p>
<p><a href="http://undefined-type.com/wp-content/flex_memory_3.png" rel="lightbox[176]"><img class="alignnone size-full wp-image-247" title="flex_memory_3" src="http://undefined-type.com/wp-content/flex_memory_3.png" alt="flex_memory_3" width="498" height="292" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://undefined-type.com/2008/09/flex-memory-on-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

