You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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.