Out of the blue my build task for compiling my AIR application has stopped working:
/opt/flex-sdk/bin/amxmlc \
-optimize=true \
-define+=CONFIG::DEBUG,false \
-define+=CONFIG::RELEASE,true \
src/Main.as -output bin/Main.swf
Loading configuration file /opt/flex-sdk/frameworks/air-config.xml
Error: Java heap space
make: *** [bin/Main.swf] Error 1
Every mention of this on the internet is only applicable to building via ANT. I know I need to increase the heap size, but have no idea where to start.