[HBuilder] 10:05:19.888 <--- Last few GCs --->
[HBuilder] 10:05:19.892 [7780:04E42E18] 215382 ms: Mark-sweep 816.7 (866.1) -> 807.8 (864.9) MB, 376.4 / 0.1 ms (average mu = 0.327, current mu = 0.334) allocation failure scavenge might not succeed
[HBuilder] 10:05:19.953 [7780:04E42E18] 215988 ms: Mark-sweep 816.2 (865.1) -> 807.7 (865.1) MB, 405.9 / 0.1 ms (average mu = 0.329, current mu = 0.331) allocation failure scavenge might not succeed
[HBuilder] 10:05:19.954 <--- JS stacktrace --->
[HBuilder] 10:05:19.960 FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
[HBuilder] 10:05:19.960 1: 00E17ACB v8::internal::Heap::PageFlagsAreConsistent+3099
[HBuilder] 10:05:19.972 2: 00E0BD84 v8::internal::Heap::CollectGarbage+2116
[HBuilder] 10:05:19.972 3: 00E0A38F v8::internal::Heap::AllocateExternalBackingStore+1551
安修丶
- 发布:2023-01-30 10:07
- 更新:2023-01-31 11:11
- 阅读:458
项目过大,打包H5时提示内存不足,尝试ul很多解决方法。
分类:HBuilderX
1 个回复
安修丶 (作者)
已解决,通过下载旧版本3.2.16HBX版本再替换V8.17 Node版本就可解决。
建议大家保存一份旧版本,用于打包用。