marsC
marsC
  • 发布:2023-01-28 12:23
  • 更新:2023-01-28 12:23
  • 阅读:290

制作自定义基座编译时内存溢出

分类:HBuilderX

pages.json 共3136行,制作自定义基座出现以下报错:(手动替换HB node为同版本X64的话可以编译成功,但是HB真机运行功能却又无法使用!头疼。)
第一次:
[HBuilder] 11:33:52.553 正在编译中...
[HBuilder] 11:35:54.013 D:\DevTool\HBuilderX\plugins\node\node.exe[20944]: c:\ws\src\util-inl.h:378: Assertion `!(n > 0) || (ret != nullptr)' failed.

第二次:
[HBuilder] 11:39:47.594 正在编译中...
[HBuilder] 11:41:51.794 <--- Last few GCs --->
[HBuilder] 11:41:51.795 [4620:0438BBA8] 128362 ms: Mark-sweep (reduce) 454.8 (831.1) -> 454.8 (723.6) MB, 342.0 / 0.1 ms (average mu = 0.937, current mu = 0.002) last resort GC in old space requested
[HBuilder] 11:41:51.803 [4620:0438BBA8] 128738 ms: Mark-sweep (reduce) 454.8 (723.6) -> 454.7 (664.3) MB, 376.0 / 0.1 ms (average mu = 0.871, current mu = 0.000) last resort GC in old space requested
[HBuilder] 11:41:51.806 <--- JS stacktrace --->
[HBuilder] 11:41:51.811 FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory

第三次:
[HBuilder] 11:42:53.404 正在编译中...
[HBuilder] 11:45:05.447 D:\DevTool\HBuilderX\plugins\node\node.exe[13128]: c:\ws\src\util-inl.h:378: Assertion `!(n > 0) || (ret != nullptr)' failed.

恭祝官方小哥新年快乐~

2023-01-28 12:23 负责人:无 分享
已邀请:

要回复问题请先登录注册