Speed up your Eclipse or FlashBuilder as a super fast IDE
1. Disable unnecessary validations and startup actions in eclipse reference.
For validations:
on eclipse menu Windows -> Preferences -> Validation, click “Disable All”, and then select the validator which you need. I selected “Classpath Dependency Validator” only. |
For startup actions:
on eclipse menu Windows -> Preferences, type “startup”, select “Startup and Shutdown”, untick the options you don’t need. |
(Thanks for David’s suggest, I’ve added the above 2 detail steps for readers)
2. Modify eclipse.ini to set the Xmn(new generation size), Xms and Xmx, enable parallel GC
-vm C:/jdk1.6.0_25/bin -startup plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar –launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.100.v20110502 -product org.eclipse.epp.package.jee.product –launcher.defaultAction openFile –launcher.XXMaxPermSize 256M -showsplash org.eclipse.platform –launcher.XXMaxPermSize 256m –launcher.defaultAction openFile -vmargs -server -Dosgi.requiredJavaVersion=1.5 -Xmn128m -Xms1024m -Xmx1024m -Xss2m -XX:PermSize=128m -XX:MaxPermSize=128m -XX:+UseParallelGC |
3. Create a ram disk(virtual disk) on memory, and put your jdk on the ram disk.
You can use imdisk to create ram disk. Firstly download it from: http://www.ltr-data.se/opencode.html/#ImDisk, and install it.
Then set the ImDisk driver to auto-load at Command Prompt with administrative privileges (for example right-click, start as Administrator), type:
sc config imdisk start= auto
net start imdisk |
create a 200m ram disk as driver n by:
imdisk -a -t vm -s 300m -m n: |
then you should format the ram disk manually.
later ,if you would like to remove the ram disk, just run the command:
imdisk -D -m n: |
4.Make sure you are using sun jdk, not open jdk/gcj nor other jdk on linux.
If you are not satified with the after the above steps, install jrockit instead of sun jdk, and change some of the vm options by jrocket specification, jrockit is faster than sun jdk.
5.Disable antivirus software, or add your jdk & eclipse & workspace & other related folder to white list in your antivirus software.
Source: http://www.beyondlinux.com/2011/06/25/speed-up-your-eclipse-as-a-super-fast-ide/
7 Responses to “(Eclipse) FlashBuilder Speed Up”
Trackbacks/Pingbacks
- Flash Builder – Content Assist did not complete normally. | REDCodeLabs - [...] you getting low performance or out of memory error messages then check this tutorial (Eclipse) FlashBuilder Speed Up Share ...
- Flex/Flash Builder – Update JRE, .ini, Increase Memory « Bishop on Development - [...] Disable FB4 Validation: Window>Preferences>Validation (disable all but Class Path Dependencies) [...]
- Flash Builder 4.5 [mxmlc] Error: Java heap space- Coding Color - [...] here are some quick tips from Red Code Labs that help optimize Flash Builders performance. Enjoy! Be Sociable, Share! ...

Please let me know if you have any problem in setting this up. Also if you have an additional comment that could improve Flash Builder speed please comment.
why i can’t install adobe experience services tool for flash builder?
error : Cannot complete the install because one or more required items could not be found.
Software being installed: ADEP Document Services – Discovery Plug-in for Flash Builder 10.0.0.v201107110338
(com.adobe.flexbuilder.services.LCService_feature.feature.group 10.0.0.v201107110338)
Missing requirement: Adobe Experience Services Tooling Composite Application Core 1.0.44
(com.adobe.ep.tooling.mosaic.core 1.0.44) requires ‘bundle org.eclipse.core.runtime [3.6.0,3.7.0)’
but it could not be found
Can u help me..
thanks
I am not sure what is the source of the issue, but there may be a series of things to check:
– Are you using flash builder as an eclipse plugin ?
– if Yes, is the eclipse version compatible with the plugin?
– Can you browse your flash-builder plugins folder and look for the org.eclipse.core.runtime ?
– When you find it check if the version is 3.6.0 or 3.7.0
– Have you followed the install steps from this document http://help.adobe.com/en_US/enterpriseplatform/10.0/InstallDEP/adep_install_experience_services.pdf ?
Hi
Good pointers with the -XX:+UseParallelGC and Validation, hadn’t seen those before. Thanks for posting
Thanks! I hope you could speed up your IDE at least a little bit. When you run the debugger 500-1000 times a day even 1% means something
hey thanks!
any tips for Flash Builder running on a mac?
Hi Saariko,
Steps 1,2 and 4 can be applied on mac as well and depending on your system configuration (especially memory size) you can increase the values from step 2 a little bit.