无法创建 Java 虚拟机 - 在启动 mule-enterprise-3.6.0\bin\mule.bat 时

Could not create the Java Virtual Machine - while starting the mule-enterprise-3.6.0\bin\mule.bat

我下载了 mmc-distribution-mule-console-bundle-3.6.0

当我尝试启动位于以下位置的 mule.bat 时

mmc-distribution-mule-console-bundle-3.6.0\mule-enterprise-3.6.0\bin\mule.bat

出现以下错误:

Launching a JVM...
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
JVM exited while loading the application.

谁能帮帮我..

该错误意味着 JVM 无法为其预留内存 运行。您需要将堆大小设置为更小的值,或者清除计算机上的更多内存以使其达到 运行.

编辑批处理脚本,并查找 运行 java 的行。 (如果您需要这方面的帮助,请在此处粘贴脚本)

在 运行 java 的行中添加如下内容:-Xmx64M,在 java 之后。这会将堆大小设置为 64MB。您可以更改它以查看有效的方法。