ANT Compile – Java Heap Space

Can’t compile your project in Flash Builder with ANT because of a lack of memory? Do this :

Got to Run –> External Tools –> External Tools Configurations

Select your ANT task on the left hand side, then select the JRE tab. In the VM arguments box type this


Now run it again. Should work. Thanks.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s