我正在使用 Spring Tools Suit 3.2.0.RELEASE。当我尝试启动 VMware 服务器
时,出现以下错误
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
The stack size specified is too small, Specify at least 228k
我在谷歌上搜索过。 Got this answer .
我将STS.ini更改为以下
-clean
-vm
/usr/lib/jvm/java-7-oracle/bin/java
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120913-144807
-product
org.springsource.sts.ide
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms1024m
-Xmx2048m
-XX:PermSize=1024m
-XX:MaxPermSize=2048m
-Xss8m
我也重新启动了 STS 和操作系统。但我仍然遇到同样的错误。还有什么地方需要改变吗?
我使用的是 Ubuntu 12.04
最佳答案
可能与 Eclipse Error with Java 7 重复
正在被https://jira.spring.io/browse/STS-3578跟踪
那里的答案:
Workaround: find the tc server launhc configuration via the "Run >> Run Configurations ..." menu. Change the vm commandline option to increase the stacksize. I.e something like:
-Xss256k
关于java - VMWare : The stack size specified is too small, 指定至少 228k,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20852389/