Java无法创建虚拟机

时间:2021-02-26 07:53:11

标签: java java-8 arduino heap-size

我目前正在与 Arduino 合作进行学校项目,当我尝试运行 Arduino.exe 时,它​​给了我这个错误

Picked up _JAVA_OPTIONS: -Xmx5096m
Invalid maximum heap size: -Xmx5096m
The specified size exceeds the maximum representable size.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

我尝试将 -Xmx5096m 更改为更高的值,因为我认为它的内存不够,仍然没有,我不知道为什么会这样,也不知道如何修复它。请帮忙

0 个答案:

没有答案