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
I created a SSR solid-start project and there's no issues in dev (yarn run dev). The app starts up properly and runs properly.
But on yarn run build, the terminal shows FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory. This error is shown after ℹ Building Nitro Server (preset: node-server).
I tried to find the cause of this problem, and I think it may be caused by nitro.( nitrojs/nitro#1833) But the related issue also mentioned that these packagers that rely on nitro can alleviate this problem by reducing the amount of parallel packaging.
The text was updated successfully, but these errors were encountered:
SimonShiki
changed the title
OOM when building for production
memory leak when building for production
Jan 28, 2024
I created a SSR solid-start project and there's no issues in dev (yarn run dev). The app starts up properly and runs properly.
But on yarn run build, the terminal shows
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory.
This error is shown after ℹ Building Nitro Server (preset: node-server).I tried to find the cause of this problem, and I think it may be caused by nitro.( nitrojs/nitro#1833) But the related issue also mentioned that these packagers that rely on nitro can alleviate this problem by reducing the amount of parallel packaging.
The text was updated successfully, but these errors were encountered: