Basically Flash Builder 4.7 on Mac OSX 10.7.5 is unusable. Very frustrating. Constant compiler issues that require frequent cleaning, closing of projects, restarts of FB, and even re-installs. I've seen none of these issues on FB 4.6 with the same projects/code.
The most common visible compiler errors are these two that randomly appear:
1) An internal build error has occurred
2) classes must not be nested
I tried increasing memory as some have suggested, but this has no effect.
It takes me 100 times longer to code now becuase every tiny code change cuases these errors. Crazy!
Before I revert back to FB 4.6, any suggestions?
Close any unneeded projects in workspace.
You can also split your large project to few libraries compiled into SWC. After compiling libraries, if not need to change often, close their projects. When such projects are closed main project compiling with just use of SWC libraries usually takes much less resources.