Flash Builder's performance is sluggish, or an out-of-memory error occurs.
Increase the following Java virtual memory (-vmargs) settings:
- Xms Initial size (bytes) of the memory allocation pool. This value must be a multiple of 1024, greater than 1 MB. Append the letter k or K to indicate kilobytes, or m or M to indicate megabytes.
- Xmx Maximum size (bytes) of the memory allocation pool. This value must a multiple of 1024, greater than 2 MB. Append the letter k or K to indicate kilobytes, or m or M to indicate megabytes.
- XX:MaxPermSize Maximum size of Permanent Generation
- XX:PermSize Initial size of Permanent Generation
Follow these steps to increase the Java virtual memory settings.
These errors occur when the default Java virtual memory settings specified in the Flash Builder.ini file are insufficient for Flash Builder to work efficiently. (The Flash Builder.ini file is for the stand-alone configuration) and the eclipse.ini file is for the plug-in configuration.)
For more information on modifying Java virtual memory settings, see the following:
- http://wiki.eclipse.org/Eclipse.ini
- http://wiki.eclipse.org/FAQ_How_do_I_increase_the_heap_size_available_to_Eclipse
- http://wiki.eclipse.org/FAQ_How_do_I_increase_the_permgen_size_available_to_Eclipse
- http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html
Keywords:
Flash Builder 4.5, sluggish, virtual memory setting, vmargs, eclipse.ini; cpsid_86392

