Ensure that Flash Builder or Eclipse is not running on your computer.
Sluggish performance, out-of-memory errors | Flash Builder
Last updated on Apr 27, 2021 06:57:19 AM GMT
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.
Locate and open the FlashBuilder.ini or eclipse.ini file, as applicable, on your computer. The .ini file is located within your Flash Builder or Eclipse installation directory.
Change or add the following Java -vmargs settings in the Flash Builder.ini file or eclipse.ini file:
Save the file and restart Flash Builder or Eclipse, as applicable.
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: