Container 'docker' exceeded memory limit on bitbucket pipeline

I am facing this error in my bitbucket pipeline .Please guide me about its fix.

Hi Syed
It seems that you have exceeded the memory available to be used in the build container, and thus the build failed to complete. I can try to comment if you can also share the the build setup.

pipelines:

branches:

ajmanbank:
 - step:
     name: Sonar cloud Testing
     script: 
       - pipe: sonarsource/sonarcloud-scan:1.4.0
         variables:
          SONAR_TOKEN: ${SONAR_TOKEN}  # Optional
          EXTRA_ARGS: '-Dsonar.sources=src -Dsonar.tests=src -Dsonar.qualitygate.wait=true -Dsonar.test.inclusions="**/testing/**,**/*.spec.ts" -Dsonar.typescript.lcov.reportPaths=coverage/lcov.info'
          SONAR_SCANNER_OPTS: -Xmx7128m
          DEBUG: "true"

Please check this build setup of my bitbucket pipeline

Hi,

I suspect this is really a Bitbucket question more than a SonarCloud one. This SO answer may help.

 
Ann

1 Like