It's about the code 

Facebook Twitter Gplus LinkedIn RSS

Improving Flash Builder Performance

Ever do something and then wonder why you didn’t do it years ago?

I just updated my Flash Builder 4.5.ini jvm settings to increase allocated memory and found a noticeable improvement, overall, in Flash Builder. I am using the stand-alone installation on Mac, so my .ini file is found by clicking on my Adobe Flash Builder 4.5.app (launcher) file and selecting “Show Package Contents”. The Adobe Flash Builder 4.5.ini file is found in Contents/MacOS/ folder in the launcher. If you are using an Eclipse plugin installation, then it would be the same path from your Eclipse installation.

I have 6GB of RAM on my machine, these settings might be able to be tweaked for even better performance but I am really pleased with the performance increase I’m getting from this configuration:

-nl
en_US
-startup
../../../eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
../../../eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx_1.1.1.R36x_v20100810
--launcher.defaultAction
openFile
-showsplash
-vmargs
-Xms512m
-Xmx1024m
-XX:MaxPermSize=512m
-XX:PermSize=128m
-Xdock:name=Flash Builder
-Xdock:icon=../Resources/fb_app.icns
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-Declipse.product=com.adobe.flexbuilder.standalone.producte36
-Declipse.application=com.adobe.flexbuilder.standalone.FlashBuilderApplication

Basically, I simply doubled all memory settings. Improvements were immediate and noticeable upon restart.

_HTH

References:
Adobe Knowledge Base
PolyGeek

 

6 Responses

  1. [...] Douglas Reynolds shows you how you can modify the Flash Builder 4.5.ini jvm settings to potentially improve Flash Builder performance. [...]

  2. This part of Eclipse has always puzzled me. Why isn’t the memory settings part of the preferences panel? Thanks for posting this.

  3. hi,

    can i increase the -Xmx1024m more than that?

    • Yes, the limitations are your own system resources allocated to the JVM. I happened to find that with 6GB RAM I didn’t see any substantial increase in performance with a greater setting.

Home FlashBuilder Improving Flash Builder Performance
credit