java - VMWare : The stack size specified is too small, 指定至少 228k

标签 java eclipse ubuntu-12.04 spring-tool-suite

我正在使用 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/

相关文章:

java - 绘制旋转三角形

java - 如何使用 Android 手动发送 NdefMessage?

java - 每次打开应用程序时都需要密码验证

linux - 由于 armhf 导致的 apt-get 更新错误

intellij-idea - Ubuntu 12.04 键绑定(bind)在 IntelliJ Idea 12 中不起作用

java - Vaadin 和 Spring - @Autowired 字段为空

java - 我在 sql 中自动生成的 id 看起来像 : 1, 101, 201.... 我该如何修复它?

java - 一个非常基本的java输出问题

ubuntu - 删除/var/lib/dpkg 后无法获取 debconf 版本

java - 即使 jars 包含在类路径中,Eclipse 类也未找到异常