In version CS5.5, Flash PRO gives an exhaustive warning when JVM runs out of memory and cannot compile large projects.
The popup gives you the correct informations, and also opens for you the jvm.ini file in flash ide to increase memory.
348m same problem then reinstall flash same issue.