简体   繁体   English

离子 | FAILURE:构建失败,出现异常

[英]IONIC | FAILURE: Build failed with an exception

Can you please help me I already googled the problem and ran the tips.你能帮我吗我已经用谷歌搜索了这个问题并运行了提示。 But all that didn't work out.但这一切都没有奏效。 Here are the pictures这是图片

错误图像 1

错误图 2

Although you set the maximum heap size to 512MB, it is still not enough for starting the VM.尽管您将最大堆大小设置为 512MB,但仍然不足以启动 VM。 In the error message you can see: Could not reserve enough space for 2097152KB object heap .在错误消息中,您可以看到: Could not reserve enough space for 2097152KB object heap

2097152KB are over 2GB, so you need at least -Xmx2G or more. 2097152KB 超过 2GB,因此您至少需要-Xmx2G或更多。 Keep in mind that you also need sufficent RAM installed.请记住,您还需要安装足够的 RAM。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM