Bamboo Cloud > Out of memory running Elastic Bamboo during git checkout

Still need help?

The Atlassian Community is here for you.

Ask the community

Problem

You're getting indications that you need to increase memory size but its not clear how to do this for Elastic Bamboo

The following appears in Bamboo Cloud log (only Atlassian Support can access your Bamboo logs)

System Error Details
Build Proquote Technology Platform - Trunk - Build 4222 : Error occurred while running Task 'Checkout Default Repository(2)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout. 
(java.lang.RuntimeException : com.atlassian.bamboo.repository.RepositoryException: Runtime exception.)
...
Caused by: org.eclipse.jgit.errors.LargeObjectException$OutOfMemory: Out of memory loading unknown object

Cause

The AMI being used doesn't have a native git installed so it uses Bamboos default git, which is jgit.

Resolution

Use a native version of git: Configuring elastic agent capabilities

Last modified on Nov 2, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.