I am using NextJS, when I am runing the pipeline, I encountered the issuse:
Here is my bitbucket-pipelines.yml
And here is my Dockerfile
I set pipeline size is 2x, but the error still happen. I also added memory: 2024 to docker but it did't work
Hi @Tan Hoang
Hope you're doing well.
While looking at your build error, it appears that your "Docker" service requires more memory than 2024mb.
Since you've increased the "size: 2x" build memory on your build, would you increase the docker memory usage to 4096 or higher and see whether it helps?
In addition to it, you can also try to including the following command to check your docker memory usage:
while true; do date && docker stats --all --no-stream && echo "" && sleep 10; done &
This should help you determine the amount of docker memory is require to run your build.
Sincerely,
Ronald C.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.