1***@qq.com
1***@qq.com
  • 发布:2022-07-01 11:02
  • 更新:2022-07-01 11:02
  • 阅读:1863

真机运行报错young object promotion failed Allocation failed - JavaScript heap out of memory

分类:HBuilderX

page.json文件64KB

<--- Last few GCs --->
[2480:00000162E7310240] 192920 ms: Scavenge (reduce) 1995.4 (2016.8) -> 1995.4 (2016.8) MB, 2.8 / 0.0 ms (average mu = 0.840, current mu = 0.965) allocation failure
[2480:00000162E7310240] 192935 ms: Scavenge (reduce) 2012.1 (2033.5) -> 2012.1 (2033.5) MB, 2.4 / 0.0 ms (average mu = 0.840, current mu = 0.965) allocation failure
[2480:00000162E7310240] 192971 ms: Scavenge (reduce) 2028.8 (2050.2) -> 2028.7 (2050.2) MB, 2.7 / 0.0 ms (average mu = 0.840, current mu = 0.965) allocation failure
<--- JS stacktrace --->
FATAL ERROR: MarkCompactCollector: young object promotion failed Allocation failed - JavaScript heap out of memory
1: 00007FF7CD6F0FFF napi_wrap+109087
2: 00007FF7CD6964D6 v8::internal::OrderedHashTable<v8::internal::OrderedHashSet,1>::NumberOfElementsOffset+33350
3: 00007FF7CD6972A6 v8::internal::OrderedHashTable<v8::internal::OrderedHashSet,1>::NumberOfElementsOffset+36886
4: 00007FF7CDF4A9EE v8::Isolate::ReportExternalAllocationLimitReached+94
5: 00007FF7CDF2F78D v8::SharedArrayBuffer::Externalize+781
6: 00007FF7CDDEDBDC v8::internal::Heap::EphemeronKeyWriteBarrierFromCode+1516
7: 00007FF7CDDD877B v8::internal::NativeContextInferrer::Infer+59339
8: 00007FF7CDDBDBAF v8::internal::MarkingWorklists::SwitchToContextSlow+57503
9: 00007FF7CDDD190B v8::internal::NativeContextInferrer::Infer+31067
10: 00007FF7CDDC899D v8::internal::MarkCompactCollector::EnsureSweepingCompleted+6269
11: 00007FF7CDDD0B5E v8::internal::NativeContextInferrer::Infer+27566
12: 00007FF7CDDD4ADB v8::internal::NativeContextInferrer::Infer+43819
13: 00007FF7CDDDE312 v8::internal::ItemParallelJob::Task::RunInternal+18
14: 00007FF7CDDDE293 v8::internal::ItemParallelJob::Run+643
15: 00007FF7CDDB1A13 v8::internal::MarkingWorklists::SwitchToContextSlow+7939
16: 00007FF7CDDC8E5C v8::internal::MarkCompactCollector::EnsureSweepingCompleted+7484
17: 00007FF7CDDC7694 v8::internal::MarkCompactCollector::EnsureSweepingCompleted+1396
18: 00007FF7CDDC51A8 v8::internal::MarkingWorklists::SwitchToContextSlow+87704
19: 00007FF7CDDF3981 v8::internal::Heap::LeftTrimFixedArray+929
20: 00007FF7CDDF5A65 v8::internal::Heap::PageFlagsAreConsistent+789
21: 00007FF7CDDEAC81 v8::internal::Heap::CollectGarbage+2033
22: 00007FF7CDDE8E85 v8::internal::Heap::AllocateExternalBackingStore+1365
23: 00007FF7CDE03206 v8::internal::Factory::AllocateRaw+166
24: 00007FF7CDE1792F v8::internal::FactoryBase<v8::internal::Factory>::NewRawTwoByteString+79
25: 00007FF7CDC0B359 v8::internal::String::SlowFlatten+441
26: 00007FF7CDABDA70 unibrow::Utf8::EncodeOneByte+656
27: 00007FF7CDAFAE0E v8::internal::StubCache::value_reference+8206
28: 00007FF7CDFD382D v8::internal::SetupIsolateDelegate::SetupHeap+463949
29: 000001D48B110889

2022-07-01 11:02 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复