It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

0 votes
edwin Community Leader Jan 28, 2019

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
Community showcase
Published in Bamboo

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

664 views 2 7
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