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
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
vercel
locked as resolved and limited conversation to collaborators
Jan 27, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of Next.js are you using?
12.0.0
What version of Node.js are you using?
14.17.6
What browser are you using?
Chrome
What operating system are you using?
Windows 10
How are you deploying your application?
Vercel
Describe the Bug
Hi
Issues with Node memory allocation.
I am on a 8g dev environment and allocated an extra 2g to Node already. .
`<--- Last few GCs --->
[3464:0000026BC5ECB1B0] 36141 ms: Scavenge (reduce) 4045.3 (4054.1) -> 4043.0 (4077.9) MB, 37.5 / 0.0 ms (average mu = 0.717, current mu = 0.711) allocation failure
[3464:0000026BC5ECB1B0] 36166 ms: Scavenge (reduce) 4049.4 (4077.9) -> 4047.5 (4082.9) MB, 20.1 / 0.0 ms (average mu = 0.717, current mu = 0.711) allocation failure
[3464:0000026BC5ECB1B0] 36228 ms: Scavenge (reduce) 4052.9 (4061.6) -> 4051.3 (4076.9) MB, 59.7 / 0.0 ms (average mu = 0.717, current mu = 0.711) allocation failure
<--- JS stacktrace --->
FATAL ERROR: MarkCompactCollector: young object promotion failed Allocation failed - JavaScript heap out of memory
1: 00007FF6C1424C9F napi_wrap+111007
2: 00007FF6C13C8226 v8::base::CPU::has_sse+59910
3: 00007FF6C13C9126 node::OnFatalError+294
4: 00007FF6C1CA2ABE v8::Isolate::ReportExternalAllocationLimitReached+94
5: 00007FF6C1C8788D v8::SharedArrayBuffer::Externalize+781
6: 00007FF6C1B309DC v8::internal::Heap::EphemeronKeyWriteBarrierFromCode+1516
7: 00007FF6C1B1B45B v8::internal::NativeContextInferrer::Infer+59739
8: 00007FF6C1B0072F v8::internal::MarkingWorklists::SwitchToContextSlow+56975
9: 00007FF6C1B1441B v8::internal::NativeContextInferrer::Infer+31003
10: 00007FF6C1B0B4FD v8::internal::MarkCompactCollector::EnsureSweepingCompleted+6285
11: 00007FF6C1B1366E v8::internal::NativeContextInferrer::Infer+27502
12: 00007FF6C1B176BB v8::internal::NativeContextInferrer::Infer+43963
13: 00007FF6C1B210B2 v8::internal::ItemParallelJob::Task::RunInternal+18
14: 00007FF6C1B21041 v8::internal::ItemParallelJob::Run+641
15: 00007FF6C1AF46A3 v8::internal::MarkingWorklists::SwitchToContextSlow+7683
16: 00007FF6C1B0B9AC v8::internal::MarkCompactCollector::EnsureSweepingCompleted+7484
18: 00007FF6C1B07D58 v8::internal::MarkingWorklists::SwitchToContextSlow+87224
19: 00007FF6C1B367C1 v8::internal::Heap::LeftTrimFixedArray+929
20: 00007FF6C1B388B5 v8::internal::Heap::PageFlagsAreConsistent+789
21: 00007FF6C1B2DAD1 v8::internal::Heap::CollectGarbage+2049
22: 00007FF6C1B2BCD5 v8::internal::Heap::AllocateExternalBackingStore+1349
23: 00007FF6C1B4C14B v8::internal::Factory::NewFillerObject+203
24: 00007FF6C187AC01 v8::internal::interpreter::JumpTableTargetOffsets::iterator::operator=+1409
25: 00007FF6C1D2B97D v8::internal::SetupIsolateDelegate::SetupHeap+465325
26: 00007FF6C1D6674B v8::internal::SetupIsolateDelegate::SetupHeap+706427
27: 0000028EE4D7798A`
Expected Behavior
An easy NextJS 12 upgrade.
Please improve upgrade documentation.
To Reproduce
Install Next 12 on 8g Windows 10 environment.
The text was updated successfully, but these errors were encountered: