从 Eclipse 使用 Portal 启动 JBoss 时出现内存不足错误 [英] Out of Memory error starting JBoss with Portal from Eclipse

查看:24
本文介绍了从 Eclipse 使用 Portal 启动 JBoss 时出现内存不足错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法让 JBoss 门户从 Eclipse 启动,尽管从命令行启动而不是从 Eclipse 内部启动时,单独的 AS 启动良好,并且门户也正确启动.我在 Windows 中运行,内存为 3GB.建议?谢谢.

I cannot get JBoss Portal to start from Eclipse, though the AS alone starts fine, and the Portal starts correctly as well, when started from the command line as opposed to from within Eclipse. I'm running in Windows, with 3GB. Suggestions? Thank you.

推荐答案

我花了好几个小时才发现这一点,几乎放弃并开始使用 Eclipse 之外的 JBoss.

I've spend hours to discover this, and almost gave up and started to use JBoss out of Eclipse.

为了在从 Eclipse 启动时增加 JBoss vmargs,您必须更改 JBoss 启动配置.如果您更改 standalone.conf,则不会发生任何事情,因为 Eclipse 不使用它.

In order to increase your JBoss vmargs when starting it from Eclipse you have to change JBoss launch configuration. If you change standalone.conf, nothing happens because Eclipse doesn't use it.

因此,要在 Eclipse 中更改 JBoss vmargs,您必须转到服务器"选项卡,右键单击您的 Jboss 实例,然后选择打开".

它会出现一个新窗口.在第一部分,您有一个选项:打开启动配置".当您点击那里时,您将看到用于更改 vmargs 的文本框.

希望对你有帮助!

这篇关于从 Eclipse 使用 Portal 启动 JBoss 时出现内存不足错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆