Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Bamboo Build java.lang.OutOfMemoryError: GC overhead limit exceeded

Hello All,

We are getting java.lang.OutOfMemoryError: GC overhead limit exceeded during the bamboo build,

I try to increase the java_options/maven_opts  in the build plan task (

Maven 3.x configuration)

but no luck.

Environment variables:

_JAVA_OPTIONS ="-Xms1024m -Xmx6144m"

MAVEN_OPTS="-Xmx6144m -Xms2048m" "-XX:-UseGCOverheadLimit"

could you please help me with what would be the issue here?Bamboo Build.PNG

1 answer

0 votes

Try to grant more memory at wrapper.conf file at Bamboo agent side

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

967 views 3 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you