This page last changed on Jan 21, 2008 by asridhar.

If your Maven/Ant builds are failing with OutOfMemory errors, this means there isn't enough memory assigned to your build. To fix this error, you need to increase the memory allocated to your build(s). To do this, we need to edit the plans build configuration and increase the memory allocated for your build

If you are using Maven, to build your project.

Edit your plan's build configuration, and add the following variable to the 'System Environment Variables' field in your plan's build configuration page.

MAVEN_OPTS=-Xmx512m

If you are using Maven, to build your project.

Edit your plan's build configuration, and add the following variable to the 'System Environment Variables' feild in your plan's build configuration page.

ANT_OPTS=-Xmx512m

Note: You may wish to change the memory allocation from 512mb to fit your plan's requirements.

Document generated by Confluence on Apr 14, 2008 01:39