Create a ~/.ant/ant.conf file with:
ANT_OPTS="-Xms512M -Xmx512M"
inside.
export ANT_OPTS=-Xmx256m
The easy way to increase the heap size is
set ANT_OPTS="-Xms512m -Xmx512m"
For me it worked without the quotes
set ANT_OPTS=-Xms512m -Xmx512m
ANT_OPTS="-Xms512M -Xmx512M"
inside.
export ANT_OPTS=-Xmx256m
The easy way to increase the heap size is
set ANT_OPTS="-Xms512m -Xmx512m"
For me it worked without the quotes
set ANT_OPTS=-Xms512m -Xmx512m