Container 'docker' exceeded memory limit while building

I m getting error Container ‘docker’ exceeded memory limit when i m trying to build and

My. yml file is-
image: # Choose an image matching your project needs

clone:
depth: full # SonarCloud scanner needs the full history to assign issues properly

definitions:
caches:
sonar: ~/.sonar/cache # Caching SonarCloud artifacts will speed up your build
steps:
- step: &build-test-sonarcloud
name: Build, test and analyze on SonarCloud
caches:
- # See Caches | Bitbucket Cloud | Atlassian Support
- sonar
script:
- # Build your project and run
- pipe: sonarsource/sonarcloud-scan:1.4.0
- step: &check-quality-gate-sonarcloud
name: Check the Quality Gate on SonarCloud
script:
- pipe: sonarsource/sonarcloud-quality-gate:0.1.6

pipelines: # More info here: Configure bitbucket-pipelines.yml | Bitbucket Cloud | Atlassian Support
branches:
master:
- step: *build-test-sonarcloud
- step: *check-quality-gate-sonarcloud
pull-requests:
‘**’:
- step: *build-test-sonarcloud
- step: *check-quality-gate-sonarcloud

pipelineLog-{13c65c7b-4e99-456f-9833-9c5d2e528389}.txt (11.0 KB)

Hi,

How big is the project you’re trying to analyze?

And thanks for the log! I guess you get the OOM error right after the last line?

 
Ann

Actually mam i m new to this and i dont have enough knowledge and when i m building it is giving error docker exceeded memory limit and my project is very small and it is .net mvc project. And after last line i m not getting any error it just stops after that line and build fails with message docker exceeded memory limit.
Plz help mam and what can i do to resolve this issue

Hi,

It looks like you need to grant Docker more memory.

 
Ann

I tried that also by exceeding memory limit in .yml file but still its showing the same thing. Can u tell me mam what changes i can do in .yml file to to resolve this
And This is my docker log
pipelineLog-{875cd12c-f1b5-46e8-9875-eef75d91aa51}-{b6c8afcf-f1f6-4f88-83dc-49ef7c074b72}.txt (9.2 KB)
Where is the problem i m not able to resolve that

Hi,

Can you turn on debug logging (I’m not sure how to do that in Bitbucket…) so maybe we could narrow this down a little more?

 
Ann