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.
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.