Build
exceeded memory limit.This can happen for large steps, in my case building an app bundle with turtle-cli
. You can double the memory allocation for a step with size: 2x
Regular steps have
4096 MB
of memory in total, large build steps (which you can define usingsize: 2x
) have8192
MB in total.
1- step: &turtle-build-android
2 name: Build app bundle (.aab)
3 image: ubuntu:focal
4 size: 2x # Double resources available for this step.
5 caches:
6 - npm
7 script:
8 - echo 'this is my step with 2x memory'
1pipelines:
2 default:
3 - step:
4 script:
5 - COMMIT_MESSAGE=`git log --format=%B -n 1 $BITBUCKET_COMMIT`
6 - echo $COMMIT_MESSAGE