1***@qq.com
1***@qq.com
  • 发布:2024-06-28 11:06
  • 更新:2024-06-28 11:26
  • 阅读:201

【报Bug】支付宝云打包失败,急

分类:uniCloud

产品分类: uniCloud/支付宝小程序云

操作步骤:

操作:发行-网站pc

预期结果:

正常打包

实际结果:

[HBuilder] 10:58:26.935 <--- Last few GCs --->
[HBuilder] 10:58:26.936 [13252:0000025BFA9C9A50] 146020 ms: Scavenge 2019.6 (2065.4) -> 2019.2 (2075.7) MB, 5.8 / 0.0 ms (average mu = 0.373, current mu = 0.276) allocation failure;
[HBuilder] 10:58:26.936 [13252:0000025BFA9C9A50] 146047 ms: Scavenge 2026.1 (2075.7) -> 2025.6 (2076.7) MB, 9.3 / 0.0 ms (average mu = 0.373, current mu = 0.276) allocation failure;
[HBuilder] 10:58:26.937 [13252:0000025BFA9C9A50] 146617 ms: Scavenge 2026.9 (2076.7) -> 2026.1 (2098.4) MB, 567.5 / 0.0 ms (average mu = 0.373, current mu = 0.276) allocation failure;
[HBuilder] 10:58:26.937 <--- JS stacktrace --->
[HBuilder] 10:58:26.937 FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
[HBuilder] 10:58:27.175 1: 00007FF79BB75AFF node_api_throw_syntax_error+174175
[HBuilder] 10:58:27.176 2: 00007FF79BAF8F26 v8::internal::wasm::WasmCode::safepoint_table_offset+59926
[HBuilder] 10:58:27.176 3: 00007FF79BAFABC0 v8::internal::wasm::WasmCode::safepoint_table_offset+67248
[HBuilder] 10:58:27.177 4: 00007FF79C5A6224 v8::Isolate::ReportExternalAllocationLimitReached+116
[HBuilder] 10:58:27.177 5: 00007FF79C5915B2 v8::Isolate::Exit+674
[HBuilder] 10:58:27.178 6: 00007FF79C41327C v8::internal::EmbedderStackStateScope::ExplicitScopeForTesting+124
[HBuilder] 10:58:27.178 7: 00007FF79C41049B v8::internal::Heap::CollectGarbage+3963
[HBuilder] 10:58:27.178 8: 00007FF79C4266D3 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath+2099
[HBuilder] 10:58:27.179 9: 00007FF79C426F7D v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath+93
[HBuilder] 10:58:27.179 10: 00007FF79C436740 v8::internal::Factory::NewFillerObject+816
[HBuilder] 10:58:27.180 11: 00007FF79C127145 v8::internal::DateCache::Weekday+1349
[HBuilder] 10:58:27.180 12: 00007FF79C644121 v8::internal::SetupIsolateDelegate::SetupHeap+558257
[HBuilder] 10:58:27.181 13: 00007FF71E01E6C4
[HBuilder] 10:58:27.865 项目 智润科技-支付宝云 编译失败。
[HBuilder] 10:58:27.866 编译失败

bug描述:

支付宝云打包失败

2024-06-28 11:06 负责人:无 分享
已邀请:
DCloud_heavensoft

DCloud_heavensoft

这个和云没什么关系,看起来是“JavaScript heap out of memory”

可能是项目下的js太大了,你可以排查下

  • 1***@qq.com (作者)

    谢谢,解决了

    2024-06-28 11:27

DCloud_heavensoft

DCloud_heavensoft

hx的设置 - 运行配置 - uni-app运行配置下有个node内存,可以调大点试下

1***@qq.com

1***@qq.com (作者)

感谢,vk,调大这个设置就好了

要回复问题请先登录注册