Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Encountering the error related to memory even though the memory used is very low

GYTWorkz Technologies Pvt_ Ltd_
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 5, 2024

I have been trying to build a docker image and deploy it to ECR through Bitbucket pipeline. In the build step I am facing an issue process "/bin/sh -c npm run build" did not complete successfully: exit code: 137. Ours is a node JS project and the docker fil we are using is:

FROM node:16.17-alpine
WORKDIR /app
COPY . .
RUN npm i
RUN npm run build
EXPOSE 9005
CMD [ "node", "build/apis/index.js" ].
I have added the memory utilization command and I registered that before killing the process memory utilization was 18MB and around 12 MB on an average through out the build. Same docker image is working in another project. There are no issues in code, building correctly when tried locally and through GIthub Workflow. Where is the issue actually?

1 answer

1 accepted

1 vote
Answer accepted
GYTWorkz Technologies Pvt_ Ltd_
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 5, 2024

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events