This documentation relates to an earlier version of Bamboo.
View

Unknown macro: {spacejump}

or visit the current documentation home.

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 Ant, 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.

  • ラベルなし