<?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>stf * blog</title>
	<atom:link href="http://blog.st-f.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.st-f.net</link>
	<description>into singularity.</description>
	<lastBuildDate>Fri, 20 Apr 2012 00:30:42 +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>Java Heap Space &amp; PermGen Space errors in Flash Builder</title>
		<link>http://blog.st-f.net/2012/04/17/java-heap-space-permgen-space-errors-in-flash-builder-eclipse/</link>
		<comments>http://blog.st-f.net/2012/04/17/java-heap-space-permgen-space-errors-in-flash-builder-eclipse/#comments</comments>
		<pubDate>Tue, 17 Apr 2012 10:33:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.st-f.net/?p=11763413930</guid>
		<description><![CDATA[As I&#8217;ve been experiencing those many times already, it&#8217;s time for a good ol blog post to summarize everything. The application level On a Mac, go to Applications, Flash Builder, then right click on Flash Builder then click on &#8220;show package contents&#8221;. Into Contents &#62; Mac OS, open Flash Builder X.X.ini. After -vmargs, you will [...]]]></description>
			<content:encoded><![CDATA[<p>As I&#8217;ve been experiencing those many times already, it&#8217;s time for a good ol blog post to summarize everything.<br />
<span id="more-11763413930"></span></p>
<h2><strong>The application level</strong></h2>
<p>On a Mac, go to Applications, Flash Builder, then right click on Flash Builder then click on &#8220;show package contents&#8221;. Into Contents &gt; Mac OS, open Flash Builder X.X.ini. After -vmargs, you will find a few options for memory. Here&#8217;s how mine looks like:</p>
<p>-Xmx1024m<br />
-Xms1024m<br />
-XX:MaxPermSize=1024m</p>
<p>Xms is the minimum amount of memory that FB can use. Xmx is the maximum memory. MaxPermSize is the maximum residual memory that will be allocated to FB. Most of the time, <strong>PermGen Space</strong> errors can be fixed by changing that parameter.</p>
<p>Those are the default values. In case nothing else is set at the JRE or project level, those will be applied.</p>
<h2>T<strong>he JRE level for ANT</strong></h2>
<p>In Flash Builder, go to Run &gt; External Tools &gt; External Tools Configuration. Then click on an ANT build and select the JRE tab. In VM arguments, you can define a specific setting for that build script. Here&#8217;s what I use most of the time: -Xms512m -Xmx2048m -XX:MaxPermSize=2048m.</p>
<h2><strong></strong><strong>MXMLC maxmemory</strong></h2>
<p>This allows to specify the max memory of one compilation inside an ANT script, for example: &lt;java jar=&#8221;${mxmlc}&#8221; fork=&#8221;true&#8221; failonerror=&#8221;true&#8221; maxmemory=&#8221;256m&#8221;&gt;. Sometimes it happens that the compiler has too much memory available and fails. Therefore, you will see a Java Heap Space error.</p>
<p>So in my case, I&#8217;m giving 1Gb of memory by default at the application level. Then 2Gb for some of my ANT scripts, as it makes compilation faster (but might cause heap space errors, so I keep it project-specific). And finally, maxmemory as a way to reduce memory on some parts of my build script.</p>
<p>It seems that the default JRE in FB don&#8217;t accept more than 2Gb in Xmx and MaxPermSize. Most projects won&#8217;t use that much memory most of the time anyway, but I would advise not to go higher than that (if you don&#8217;t change JRE for the latest ones, FB won&#8217;t start at all. You will then have to roll back the config, then restart FB).</p>
<p>Java Heap Space and PermGen Space don&#8217;t necessarily mean there&#8217;s not enough memory. This is especially true for Java Heap Space, I&#8217;ve noticed that reducing the memory (maxmemory) is the solution, most of the time.</p>
<p>Settings might vary a lot depending on your project. Usually, giving 1Gb of memory by default in the application and only changing script-level and mxmlc params to fine tune is the way to go.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.st-f.net/2012/04/17/java-heap-space-permgen-space-errors-in-flash-builder-eclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deeper Sublime &#8211; Japanese Garden</title>
		<link>http://blog.st-f.net/2011/11/15/deeper-sublime-japanese-garden/</link>
		<comments>http://blog.st-f.net/2011/11/15/deeper-sublime-japanese-garden/#comments</comments>
		<pubDate>Tue, 15 Nov 2011 09:39:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[house]]></category>

		<guid isPermaLink="false">http://blog.st-f.net/?p=11763413740</guid>
		<description><![CDATA[This track sounds so cliché at first. But listening to it in full with decent headphones is like taking a walk in the mountains.]]></description>
			<content:encoded><![CDATA[<p>This track sounds so <em>cliché </em>at first. But listening to it in full with decent headphones is like taking a walk in the mountains.</p>
<p><object width="510" height="376" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/-TEadD6GVDU?version=3&amp;hl=fr_FR" /><param name="allowfullscreen" value="true" /><embed width="510" height="376" type="application/x-shockwave-flash" src="http://www.youtube.com/v/-TEadD6GVDU?version=3&amp;hl=fr_FR" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.st-f.net/2011/11/15/deeper-sublime-japanese-garden/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Here&#8217;s my take on Flash (November 2011)</title>
		<link>http://blog.st-f.net/2011/11/12/heres-my-take-on-flash-november-2011/</link>
		<comments>http://blog.st-f.net/2011/11/12/heres-my-take-on-flash-november-2011/#comments</comments>
		<pubDate>Sat, 12 Nov 2011 16:14:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.st-f.net/?p=11763413882</guid>
		<description><![CDATA[I wanted to blog a bit about the latest announcement of Adobe concerning Flash, I mean of course the fact that they will stop developing Flash Player for mobile browsers. Does that mean that Flash is going out of mobiles? Certainly not, as AIR is taking it from here. And AIR IS FLASH. Flash will [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted to blog a bit about the latest announcement of Adobe concerning Flash, I mean of course the fact that they will stop developing Flash Player for mobile browsers. Does that mean that Flash is going out of mobiles? Certainly not, as AIR is taking it from here. And AIR IS FLASH. Flash will also still be a major player in desktop web browsers. But the damage is done.</p>
<p>Clients are going to ask for more HTML5, and too many things just can&#8217;t be done using that technique. This will create a gap in technology which is going to arm the evolution of the web.</p>
<p>More information on ZDnet: <a title="http://www.zdnet.com/blog/perlow/a-web-developer-speaks-flash-player-is-dead-html5-isnt-ready-long-live-air/19293" href="http://www.zdnet.com/blog/perlow/a-web-developer-speaks-flash-player-is-dead-html5-isnt-ready-long-live-air/19293" target="_blank" onclick="urchinTracker('/outgoing/www.zdnet.com/blog/perlow/a-web-developer-speaks-flash-player-is-dead-html5-isnt-ready-long-live-air/19293?referer=');">A Web Developer Speaks: Flash Player is Dead. HTML5 isn&#8217;t ready. Long live AIR!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.st-f.net/2011/11/12/heres-my-take-on-flash-november-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Proscenium Model Viewer: an AIR app to test 3D models with Proscenium</title>
		<link>http://blog.st-f.net/2011/10/31/proscenium-model-viewer-an-air-app-to-test-3d-models-with-proscenium/</link>
		<comments>http://blog.st-f.net/2011/10/31/proscenium-model-viewer-an-air-app-to-test-3d-models-with-proscenium/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 21:11:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[Actionscript & Flash]]></category>
		<category><![CDATA[Experimental]]></category>
		<category><![CDATA[Lab]]></category>

		<guid isPermaLink="false">http://blog.st-f.net/?p=11763413790</guid>
		<description><![CDATA[As I&#8217;ve been testing Proscenium lately, and before writing a full review, I did a small AIR app that helps me to do benchmarks. Download the AIR application here. You will have to update AIR manually to the latest version (3.2) on the Adobe Labs website to make it work. You can use OBJ, DAE and KMZ [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.st-f.net/wp-content/uploads/2011/10/prosceniumTest.png" rel="shadowbox[sbpost-11763413790];player=img;"><img class="aligncenter size-full wp-image-11763413726" title="prosceniumTest" src="http://blog.st-f.net/wp-content/uploads/2011/10/prosceniumTest.png" alt="" width="510" height="155" /></a><span id="more-11763413790"></span>As I&#8217;ve been testing Proscenium lately, and before writing a full review, I did a small AIR app that helps me to do benchmarks.</p>
<p><strong>Download the AIR application <a title="https://github.com/st-f/ProsceniumModelViewer/blob/master/ProsceniumModelViewer.air?raw=true" href="https://github.com/st-f/ProsceniumModelViewer/blob/master/ProsceniumModelViewer.air?raw=true" target="_blank" onclick="urchinTracker('/outgoing/github.com/st-f/ProsceniumModelViewer/blob/master/ProsceniumModelViewer.air?raw=true&amp;referer=');">here</a>.</strong> <strong>You will have to update AIR manually to the latest version (3.2) on the <a title=" http://labs.adobe.com/downloads/air3-2.html" href="http://labs.adobe.com/downloads/air3-2.html" target="_blank" onclick="urchinTracker('/outgoing/labs.adobe.com/downloads/air3-2.html?referer=');">Adobe Labs website</a> to make it work.</strong></p>
<p>You can use OBJ, DAE and KMZ files. If you don&#8217;t have any models, I&#8217;ve added a few in a folder on <a title="http://github.com/st-f/ProsceniumModelViewer/tree/master/assets" href="http://github.com/st-f/ProsceniumModelViewer/tree/master/assets" target="_blank" onclick="urchinTracker('/outgoing/github.com/st-f/ProsceniumModelViewer/tree/master/assets?referer=');">GitHub</a> (the models are from <a title="http://www.oyonale.com/modeles.php?lang=en&amp;format=OBJ" href="http://www.oyonale.com/modeles.php?lang=en&amp;format=OBJ" target="_blank" onclick="urchinTracker('/outgoing/www.oyonale.com/modeles.php?lang=en_amp_format=OBJ&amp;referer=');">Oyonale</a>, free for commercial and personal use!).</p>
<p><a href="http://blog.st-f.net/wp-content/uploads/2011/10/airapp.png" rel="shadowbox[sbpost-11763413790];player=img;"><img class="aligncenter size-full wp-image-11763413796" title="airapp" src="http://blog.st-f.net/wp-content/uploads/2011/10/airapp.png" alt="" width="510" height="307" /></a>This project has been made using Flex 4.6 Prerelease, and is using AIR 3.1.</p>
<p>The source is on <a title="https://github.com/st-f/ProsceniumModelViewer" href="https://github.com/st-f/ProsceniumModelViewer" target="_blank" onclick="urchinTracker('/outgoing/github.com/st-f/ProsceniumModelViewer?referer=');">GitHub</a>, feel free to use it!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.st-f.net/2011/10/31/proscenium-model-viewer-an-air-app-to-test-3d-models-with-proscenium/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>#AdobeMAX 2011, Day 1: Creativity Unleashed general session</title>
		<link>http://blog.st-f.net/2011/10/25/adobe-max-day-1-monday-3rd-unleashed-creativity-keynote-first-sessions/</link>
		<comments>http://blog.st-f.net/2011/10/25/adobe-max-day-1-monday-3rd-unleashed-creativity-keynote-first-sessions/#comments</comments>
		<pubDate>Tue, 25 Oct 2011 17:32:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Actionscript & Flash]]></category>

		<guid isPermaLink="false">http://blog.st-f.net/?p=1193</guid>
		<description><![CDATA[You could expect a typical american show when you go to see a keynote in the theater which hosts the Grammys. It was actually way better than that, as the stage was covered with images projected on all walls. The total resolution is believed to be more than 300M px. The opening sequence was really [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://blog.st-f.net/wp-content/uploads/2011/10/testttt.jpg" rel="shadowbox[sbpost-1193];player=img;"><img class="aligncenter size-full wp-image-1479" title="test2" src="http://blog.st-f.net/wp-content/uploads/2011/10/test2.jpg" alt="" width="510" height="220" /></a></p>
<p><span id="more-1193"></span><br />
<a href="http://blog.st-f.net/2011/10/25/adobe-max-day-1-monday-3rd-unleashed-creativity-keynote-first-sessions/319915_10101592887118334_9375290_86412468_842807756_n/" rel="attachment wp-att-1254"><img title="319915_10101592887118334_9375290_86412468_842807756_n" src="http://blog.st-f.net/wp-content/uploads/2011/10/319915_10101592887118334_9375290_86412468_842807756_n.jpg" alt="" width="510" height="339" /></a></p>
<p>You could expect a typical american show when you go to see a keynote in the theater which hosts the Grammys. It was actually way better than that, as the stage was covered with images projected on all walls. The total resolution is believed to be more than 300M px. The opening sequence was really impressive:</p>
<p><iframe src="http://player.vimeo.com/video/30110168?title=0&amp;byline=0&amp;portrait=0" frameborder="0" width="510" height="162"></iframe></p>
<p><a href="http://vimeo.com/30110168" onclick="urchinTracker('/outgoing/vimeo.com/30110168?referer=');">Adobe Max 2011 Keynote Opener</a> from <a href="http://vimeo.com/chrisbjerre" onclick="urchinTracker('/outgoing/vimeo.com/chrisbjerre?referer=');">Christoffer Bjerre</a> on <a href="http://vimeo.com" onclick="urchinTracker('/outgoing/vimeo.com?referer=');">Vimeo</a>.</p>
<p>First thing first, services: Adobe is willing to sell all of its products as services, so it seems. The whole Creative Suite is already available as a subscription, so this is not new. The first part of the keynote is dedicated to the Creative Services, with the Creative Cloud, a service which will allow to share files created with the creative suite online. A complete suite of tablet apps, to view (Adobe Viewer), edit (Photoshop Touch and Proto, a UX tool, Ideas, for mockups) or share are going to be released, as well as the service, in early 2012.</p>
<p><a href="http://blog.st-f.net/2011/10/25/adobe-max-day-1-monday-3rd-unleashed-creativity-keynote-first-sessions/2011-10-03-09-51-54/" rel="attachment wp-att-1251"><img class="aligncenter size-full wp-image-1251" title="2011-10-03 09.51.54" src="http://blog.st-f.net/wp-content/uploads/2011/10/2011-10-03-09.51.jpg" alt="" width="510" height="383" /></a></p>
<p>Next, fonts. Adobe just acquired Typekit, which offers an html-compliant solution for fonts on websites. This service is due to be integrated deeply into the Creative Suite, to enable software like InDesign to be ready for online publishing in terms of fonts.</p>
<p>The Creative Community (creative.adobe.com) is a file sharing service with advanced functionalities to view Photoshop, Illutrator, InDesign files, such as layer per layer view, extracted color palette (in link with Kuler, a color theme sharing tool), fonts (linked to Typekit, an online service for webfonts) and more to come. To be released in early 2011.</p>
<p><a href="http://blog.st-f.net/2011/10/25/adobe-max-day-1-monday-3rd-unleashed-creativity-keynote-first-sessions/2011-10-03-10-13-38/" rel="attachment wp-att-1269"><img class="aligncenter size-full wp-image-1269" title="2011-10-03 10.13.38" src="http://blog.st-f.net/wp-content/uploads/2011/10/2011-10-03-10.13.38.jpg" alt="" width="510" height="383" /></a></p>
<p>Adobe Ideas:</p>
<p><a href="http://blog.st-f.net/2011/10/25/adobe-max-day-1-monday-3rd-unleashed-creativity-keynote-first-sessions/2011-10-03-10-25-56/" rel="attachment wp-att-1253"><img class="aligncenter size-full wp-image-1253" title="2011-10-03 10.25.56" src="http://blog.st-f.net/wp-content/uploads/2011/10/2011-10-03-10.25.56.jpg" alt="" width="510" height="383" /></a></p>
<p>Photoshop Touch:</p>
<p><a href="http://blog.st-f.net/2011/10/25/adobe-max-day-1-monday-3rd-unleashed-creativity-keynote-first-sessions/2011-10-03-10-51-37/" rel="attachment wp-att-1273"><img class="aligncenter size-full wp-image-1273" title="2011-10-03 10.51.37" src="http://blog.st-f.net/wp-content/uploads/2011/10/2011-10-03-10.51.37.jpg" alt="" width="510" height="383" /></a></p>
<p>Proto:</p>
<p><a href="http://blog.st-f.net/2011/10/25/adobe-max-day-1-monday-3rd-unleashed-creativity-keynote-first-sessions/2011-10-03-10-40-44/" rel="attachment wp-att-1274"><img class="aligncenter size-full wp-image-1274" title="2011-10-03 10.40.44" src="http://blog.st-f.net/wp-content/uploads/2011/10/2011-10-03-10.40.44.jpg" alt="" width="510" height="383" /></a></p>
<p>InDesign and online magazines: you can see who are the biggest customers for Adobe in that part of the session. I&#8217;m talking about publishing of course, which are more than willing to be able to publish directly from InDesign to the web. This is coming, and the output is definitivelly HTML, JS and CSS. That&#8217;s right, HTML5. This puts Flash out of the game for content. Combined with tools like Edge, which had been demo in Tuesday&#8217;s keynote, Adobe started something new for HTML5: interactive designer in agencies, or media in general are not going to do Flash anymore.</p>
<p><a href="http://blog.st-f.net/2011/10/25/adobe-max-day-1-monday-3rd-unleashed-creativity-keynote-first-sessions/_mg_7735-jpg/" rel="attachment wp-att-1252"><img class="aligncenter size-full wp-image-1252" title="_MG_7735.JPG" src="http://blog.st-f.net/wp-content/uploads/2011/10/MG_7735.jpg" alt="" width="510" height="340" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.st-f.net/2011/10/25/adobe-max-day-1-monday-3rd-unleashed-creativity-keynote-first-sessions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

