Hi,
I am trying to build and deploy my nextjs monorepo, I am not using any extra services and only the setting the default bit bucket docker's node image.
Why am i getting "Container 'Build' exceeded memory limit.", anyway the extend my build container memory?
** my AppB is smaller app so it deployed with no problem, it just App A failed
below is my pipeline file:
image: node:16.16.0
definitions:
caches:
yarn: /usr/local/share/.cache/yarn
nodecustom: ./node_modules
nextcacheAppA: ./dist/apps/appA/.next/cache
nextcacheAppB: ./dist/apps/appB/.next/cache
pipelines:
branches:
master:
- parallel:
- step:
size: 2x
caches:
- yarn
- nodecustom
- node
- nextcacheshell
name: Build and Deploy App A SIT
deployment: SIT
script:
- yarn install --frozen-lockfile && export NETLIFY_SITE_ID=$SIT_SITE_ID && npx netlify deploy --build --prod --site $SIT_SITE_ID --auth $NETLIFY_AUTH_TOKEN
- step:
name: Build and Deploy App B SIT
script:
- yarn install --frozen-lockfile && export NETLIFY_SITE_ID=$APPB_SIT_SITE_ID && npx netlify deploy --build --prod --site $APPB_SIT_SITE_ID --auth $NETLIFY_AUTH_TOKEN
Hi @andy_tsoi and welcome to the community.
I see that you have created a support ticket for this issue, but I wanted to leave a reply here as well for any other users who may come across your post facing the same issue.
while true; do date >> mem.txt && docker stats -a --no-stream >> mem.txt && sleep 2; done &
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.