The Ant build process runs out of memory.
For details about setting custom JVM arguments to the Ant build process, see JVM Arguments.