Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Prakash Somasundaraiah June 23, 2021

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
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 26, 2021

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

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events