Flex Memory on Mac
Having problem when developing Flex sites with the memory, is it to slow? No probs, lets kick it up a notch.
1.) Go into Flex Package Content, CTRL+”Mouse Click” on the Flex Builder 3 file and select “Show Package Content”
2.) Go into Contents -> MacOS and open “FlexBuilder.ini”.
3.) Change memory to what you want.
-Xms = Minimum Memory
-Xmx = Maximum Memory
So change the Xmx to a higher value, e.g.
-Xmx1024m
Ant Script
This doesn’t work if memory isn’t enought for running ant scripts. If this is your problem, try this.
1.) Open Flex Builder
2.) Window -> Preferences -> Java -> Installed JREs
3.) Mark the JVM package that you are using when running the Ant script and click “Edit”.
4.) Add memory properties to the “Default VM Arguments”, e.g. “-Xmx1024m”.


