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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

943 views 4 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