Something I always come across when I have a clean install of FDT is that my ant build fails due to compiling large swc’s. The answer is easy although not readily available as I found out and that is too change the arguments for java to allow more memory. The location in FDT is /Preferences/Java/Installed JREs. You then choose edit and write the following into the arguments field.
-Xms1024m -Xmx1024m

