You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<Expandable permalink title="Out of Memory (OOM) errors during build">
553
-
The problem is related to memory consumption during the build process, especially when generating source maps. Here are some potential solutions and workarounds:
553
+
The problem here is related to memory consumption during the build process, especially when generating source maps. Here are some potential solutions and workarounds:
554
554
555
555
- Update your `@sentry/nextjs` package to the latest version.
556
556
- Increase Node.js memory limit: You can try increasing the memory limit for Node.js during the build process. Add this to your build command: `NODE_OPTIONS="--max-old-space-size=8192" next build`. This flag will increase the memory available to the node process to 8 GB. We have found that Next.js consumes around 4 GB in most cases. Decrease the size depending on your memory availability.
0 commit comments