无法启动 JVM - Windows 7

Unable to start the JVM - Windows 7

我们公司的 IT 最近进行了升级,我不知道他们还更改了哪些默认设置,但是 Excel 2013 32 位(带有 MATLAB 编译器运行时插件)每天崩溃多次这让我发疯。

我查看了其他类似问题的解决方案,但仍然没有运气。我收到的确切错误附在下图中。我已经尝试将环境变量编辑为不同的数量,并检查了可用的可用物理内存(总共有 16G,通常有一半是免费的)

运行 java -version 命令提示符 returns:

java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b31)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)

Java 控制面板运行时环境设置参考 javaw.exe 但我更改了 java.exe 和 [=27] 上的环境变量=](在 Program Files 和 Program Files (x86) 中。

Unable to start the JVM. Picked up _JAVA_OPTIONS: -Xmx1024m -Xms512m Error occurred during initialization of VM Could not reserve enough space for budget heap There is not enough memory to start up the Java virtual machine. Try quitting other applications or increasing your virtual memory

它说它没有足够的space。 将 JVM 最大内存的设置更改为 1024M -Xmx1024m 你的插件有这样的设置吗?您可能想要 Google "JVM heap size settings for Excel MAtlab plugin".

请也看看这个问题。 (Increase default heap size for windows) 希望这对您有所帮助!