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
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
I started a little project using nextjs 13 and prismic, I´m getting this error every time I navigate to pages using the <SliceZone/> component. Only have 3 slices created, all marked as client components.
@amendezm<SliceZone> is primarily a wrapper around slices.map(), so it is unlikely to be the cause of a "out of memory" error. The components, however, could contribute to memory usage.
Could you try the following?
Comment out all properties in the components object in slices/index.js.
Uncomment each Slice one by one and determine if a specific Slice component is causing the memory problem.
If you are able to narrow down which component causes the error, is there anything special about that Slice? Does it have any unique logic?
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
I started a little project using nextjs 13 and prismic, I´m getting this error every time I navigate to pages using the
<SliceZone/>
component. Only have 3 slices created, all marked as client components.Versions
Local Environment
Below is my
package.json
I would really appreciate your help
The text was updated successfully, but these errors were encountered: