Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Possible to Decrease Bitbucket Runner Default Memory Consumption

tonywu January 19, 2024

We currently run 1 EC2 instance and have multiple Bitbucket Docker runners on it. Each Bitbucket runner allocates roughly 500MB of memory even when idle (we see allocation from a java process), and we are at the point that we can't no longer put additional runners on this EC2 instance even though most runners are idle most of the time.

Is it possible to reduce the default memory allocation of runners when they are idle and doing nothing?

 

Thanks.

1 answer

1 accepted

0 votes
Answer accepted
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 21, 2024

G'day, @tonywu 

I believe it's impossible to decrease the current runner's default memory consumption while in idle mode. However, if you want to see this feature, please let me know so I can create a feature request on your behalf.

With that being said, since you mentioned having multiple runners on a single instance, I thought of something we recently released that will allow you to upscale and descale runners easily.

Automatically scale runners in Bitbucket Pipelines 

This feature should allow you to better manage your instance resources and descale the runner whenever you don't need them etc. 

For more information, please check our documentation at: Autoscaler for Runners on Kubernetes 

Regards,
Syahrul

tonywu January 22, 2024

Hi Syahrul,

Thanks for the information, I'll look into it. We are not currently running Kubernetes, but still good information even if not applicable to us.

If you wouldn't mind, I think a feature request for idle memory reservation would be very much appreciated as well.

Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 22, 2024

Hi @tonywu 

Noted! Please check the following feature request and make sure to Vote and Watch them so that you'll received an update if we have any update in the future.

https://jira.atlassian.com/browse/BCLOUD-23065

Cheers,
Syahrul

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events