When the ant build script is run on a large Java project it returns an OutOfMemoryError.

The Problem
The Ant process runs out of Heap space.

The Solution
This can be fixed by starting ant with a larger memory allocation using ANT_OPTS prior to starting the build:
set ANT_OPTS=-Xmx128m.







© 2001-2010 Liquid Technologies Limited. All rights reserved. Privacy Statement