- 发布:2024-12-17 17:06
- 更新:2024-12-17 17:06
- 阅读:42
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: 22H2
HBuilderX类型: 正式
HBuilderX版本号: 4.36
手机系统: 全部
手机厂商: 华为
页面类型: vue
vue版本: vue3
打包方式: 云端
项目创建方式: HBuilderX
测试过的手机:
操作步骤:
运行到微信小程序
运行到微信小程序
预期结果:
不报错
不报错
实际结果:
17:01:53.882 开始差量编译...
17:01:59.066 项目 '项目名称' 编译成功。前端运行日志,请另行在小程序开发工具的控制台查看。
17:03:02.648 开始差量编译...
17:03:09.376 <--- Last few GCs --->
17:03:09.383 [17552:000001CFBC440080] 164599 ms: Mark-sweep (reduce) 2033.5 (2083.9) -> 2032.7 (2084.2) MB, 516.4 / 0.0 ms (average mu = 0.339, current mu = 0.003) allocation failure; scavenge might not succeed
17:03:09.389 [17552:000001CFBC440080] 165725 ms: Mark-sweep (reduce) 2033.8 (2084.2) -> 2033.0 (2084.4) MB, 1124.3 / 0.0 ms (average mu = 0.135, current mu = 0.002) allocation failure; scavenge might not succeed
17:03:09.396 <--- JS stacktrace --->
17:03:09.403 FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
17:03:09.702 1: 00007FF703C35AFF node_api_throw_syntax_error+174175
17:03:09.710 2: 00007FF703BB8F26 v8::internal::wasm::WasmCode::safepoint_table_offset+59926
17:03:09.719 3: 00007FF703BBABC0 v8::internal::wasm::WasmCode::safepoint_table_offset+67248
17:03:09.727 4: 00007FF704666224 v8::Isolate::ReportExternalAllocationLimitReached+116
17:03:09.736 5: 00007FF7046515B2 v8::Isolate::Exit+674
17:03:09.744 6: 00007FF7044D327C v8::internal::EmbedderStackStateScope::ExplicitScopeForTesting+124
17:03:09.753 7: 00007FF7044D049B v8::internal::Heap::CollectGarbage+3963
17:03:09.762 8: 00007FF7044E66D3 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath+2099
17:03:09.770 9: 00007FF7044E6F7D v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath+93
17:03:09.774 10: 00007FF7044F6740 v8::internal::Factory::NewFillerObject+816
17:03:09.790 11: 00007FF7041E7145 v8::internal::DateCache::Weekday+1349
17:03:09.794 12: 00007FF704704121 v8::internal::SetupIsolateDelegate::SetupHeap+558257
17:03:09.812 13: 00007FF7046E5E51 v8::internal::SetupIsolateDelegate::SetupHeap+434657
17:03:09.828 14: 00007FF6855ABFAD
17:01:53.882 开始差量编译...
17:01:59.066 项目 '项目名称' 编译成功。前端运行日志,请另行在小程序开发工具的控制台查看。
17:03:02.648 开始差量编译...
17:03:09.376 <--- Last few GCs --->
17:03:09.383 [17552:000001CFBC440080] 164599 ms: Mark-sweep (reduce) 2033.5 (2083.9) -> 2032.7 (2084.2) MB, 516.4 / 0.0 ms (average mu = 0.339, current mu = 0.003) allocation failure; scavenge might not succeed
17:03:09.389 [17552:000001CFBC440080] 165725 ms: Mark-sweep (reduce) 2033.8 (2084.2) -> 2033.0 (2084.4) MB, 1124.3 / 0.0 ms (average mu = 0.135, current mu = 0.002) allocation failure; scavenge might not succeed
17:03:09.396 <--- JS stacktrace --->
17:03:09.403 FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
17:03:09.702 1: 00007FF703C35AFF node_api_throw_syntax_error+174175
17:03:09.710 2: 00007FF703BB8F26 v8::internal::wasm::WasmCode::safepoint_table_offset+59926
17:03:09.719 3: 00007FF703BBABC0 v8::internal::wasm::WasmCode::safepoint_table_offset+67248
17:03:09.727 4: 00007FF704666224 v8::Isolate::ReportExternalAllocationLimitReached+116
17:03:09.736 5: 00007FF7046515B2 v8::Isolate::Exit+674
17:03:09.744 6: 00007FF7044D327C v8::internal::EmbedderStackStateScope::ExplicitScopeForTesting+124
17:03:09.753 7: 00007FF7044D049B v8::internal::Heap::CollectGarbage+3963
17:03:09.762 8: 00007FF7044E66D3 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath+2099
17:03:09.770 9: 00007FF7044E6F7D v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath+93
17:03:09.774 10: 00007FF7044F6740 v8::internal::Factory::NewFillerObject+816
17:03:09.790 11: 00007FF7041E7145 v8::internal::DateCache::Weekday+1349
17:03:09.794 12: 00007FF704704121 v8::internal::SetupIsolateDelegate::SetupHeap+558257
17:03:09.812 13: 00007FF7046E5E51 v8::internal::SetupIsolateDelegate::SetupHeap+434657
17:03:09.828 14: 00007FF6855ABFAD
bug描述:
运行项目到小程序 报错
17:03:02.648 开始差量编译...
17:03:09.376 <--- Last few GCs --->
17:03:09.383 [17552:000001CFBC440080] 164599 ms: Mark-sweep (reduce) 2033.5 (2083.9) -> 2032.7 (2084.2) MB, 516.4 / 0.0 ms (average mu = 0.339, current mu = 0.003) allocation failure; scavenge might not succeed
17:03:09.389 [17552:000001CFBC440080] 165725 ms: Mark-sweep (reduce) 2033.8 (2084.2) -> 2033.0 (2084.4) MB, 1124.3 / 0.0 ms (average mu = 0.135, current mu = 0.002) allocation failure; scavenge might not succeed
17:03:09.396 <--- JS stacktrace --->
17:03:09.403 FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
17:03:09.702 1: 00007FF703C35AFF node_api_throw_syntax_error+174175
17:03:09.710 2: 00007FF703BB8F26 v8::internal::wasm::WasmCode::safepoint_table_offset+59926
17:03:09.719 3: 00007FF703BBABC0 v8::internal::wasm::WasmCode::safepoint_table_offset+67248
17:03:09.727 4: 00007FF704666224 v8::Isolate::ReportExternalAllocationLimitReached+116
17:03:09.736 5: 00007FF7046515B2 v8::Isolate::Exit+674
17:03:09.744 6: 00007FF7044D327C v8::internal::EmbedderStackStateScope::ExplicitScopeForTesting+124
17:03:09.753 7: 00007FF7044D049B v8::internal::Heap::CollectGarbage+3963
17:03:09.762 8: 00007FF7044E66D3 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath+2099
17:03:09.770 9: 00007FF7044E6F7D v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath+93
17:03:09.774 10: 00007FF7044F6740 v8::internal::Factory::NewFillerObject+816
17:03:09.790 11: 00007FF7041E7145 v8::internal::DateCache::Weekday+1349
17:03:09.794 12: 00007FF704704121 v8::internal::SetupIsolateDelegate::SetupHeap+558257
17:03:09.812 13: 00007FF7046E5E51 v8::internal::SetupIsolateDelegate::SetupHeap+434657
17:03:09.828 14: 00007FF6855ABFAD
0 个回复