Closed
Description
Bug Report
<--- Last few GCs --->
[22928:00000293292C8690] 76794 ms: Mark-sweep 4042.1 (4136.7) -> 4029.8 (4140.2) MB, 3540.7 / 0.0 ms (average mu = 0.427, current mu = 0.009) allocation failure scavenge might not succeed
[22928:00000293292C8690] 81105 ms: Mark-sweep 4045.9 (4140.2) -> 4034.0 (4144.2) MB, 4275.7 / 0.0 ms (average mu = 0.249, current mu = 0.008) allocation failure scavenge might not succeed
<--- JS stacktrace --->
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
1: 00007FF7D2C8FDCF v8::internal::CodeObjectRegistry::~CodeObjectRegistry+112495
2: 00007FF7D2C1EF86 DSA_meth_get_flags+65526
3: 00007FF7D2C1FE3D node::OnFatalError+301
4: 00007FF7D355167E v8::Isolate::ReportExternalAllocationLimitReached+94
5: 00007FF7D353BB5D v8::SharedArrayBuffer::Externalize+781
6: 00007FF7D33DF2AC v8::internal::Heap::EphemeronKeyWriteBarrierFromCode+1468
7: 00007FF7D33DC3E4 v8::internal::Heap::CollectGarbage+4244
8: 00007FF7D33D9D60 v8::internal::Heap::AllocateExternalBackingStore+2000
9: 00007FF7D33FE696 v8::internal::Factory::NewFillerObject+214
10: 00007FF7D3131965 v8::internal::DateCache::Weekday+1797
11: 00007FF7D35DF071 v8::internal::SetupIsolateDelegate::SetupHeap+494417
🔎 Search Terms
OOM 4.5.0-beta
🕗 Version & Regression Information
- This is a crash
- This changed between versions 4.4.4 and 4.5.0-beta
I can't create a small reproduce since it's an OOM problem.
Reproduction
- Clone https://github.com/DimensionDev/Maskbook
- Checkout to the
ts-4.5
branch - Run
pnpm install
to install dependencies - Run
pnpm run codegen
- Wait for about 1.37 minutes on my machine,
tsc
crashes with OOM.