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
4,294,810
Community Members
 
Community Events
165
Community Groups

Linux remote agent build fails with env size message?

When running a build (first one triggered with merge) the build stalls and eventually fails.  Upon rerunning manually the build succeeds.  Repeatable.

In the log there is a warning message just prior the stall that says:

"The size of environment is 4862, make sure your build environment handles this correctly"

Is the build running out of java env and if so, how can I bump that up?

1 answer

Hi @Jeff_Schaeffer,

This is a message that informs you that there are a lot of environment variables configured on the system. 

There is a kb article about the issue and the recommendation is trimming down the variables.

Build fails because the environment block used to start a process cannot be longer than X bytes

Yep, saw that, the error is different but has some similarities I agree.   If I were to run out of env I'd expect and error similar.  So how do I go about bumping that env space up as there aren't an excess amount of variables (No Globals, No Plan level, only scripting)?

Suggest an answer

Log in or Sign up to answer
TAGS
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...

931 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