I met a problem a few days ago. My partner was trying to compile one very big project which has a lot of components, libraries etc …
He added a new component that we were making and try to compile it. But after the swf was compiled it was empty, there was nothing in it and it was half of the original size which had to be.
We had to find a way to solve this compiling problem and the solution was to increase the heap size of JVM. This is only for CS5
Here is how you can do that:
1. Got to C:\Users\{USERNAME}\AppData\Local\Adobe\Flash CS5\en_US\Configuration\ActionScript 3.0
2. Find a fila called jvm.ini
3. Open the file and find a line -Xmx128m
4. Change this to -Xmx512m
5. Save the file and start Flash CS5
Note: Flash must be stopped in the time you are changing this!
I hope this will work for you and you will be able to compile you big projects
Cheers!
Leave a reply