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

-Xmx640m

Now run it again. Should work. Thanks.

Leave a Reply

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

WordPress.com Logo

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

Twitter picture

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

Facebook photo

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

Connecting to %s