我在Final Builder
编译Android项目。虽然我安装了Java 64bit version
,但仍会发生以下错误。
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Invalid initial heap size: -Xms4096M
The specified size exceeds the maximum representable size.
Program returned code : 1
答案 0 :(得分:0)
错误消息告诉您堆大小的jvm参数太大。
尝试较小的值,例如-Xms1024M
。