如何增加 WildFly 的堆内存? [英] How to increase heap memory for WildFly?

查看:73
本文介绍了如何增加 WildFly 的堆内存?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

WildFly 8 在带有 standalone.sh 的 Linux 服务器上启动.我注意到服务器启动时堆内存空间很少.

WildFly 8 is started on a linux server with standalone.sh. I noticed that the server was started with very few heap memory space.

我需要为服务器和在服务器上运行的应用程序增加堆内存空间.我该怎么做?

I need to increase the heap memory space for the server and for applications, which are running on the server. How can I do it?

推荐答案

只需编辑bin/standalone.conf,寻找第一次出现的JAVA_OPTS并更改-Xmx 根据您的需要选择.

Just edit bin/standalone.conf, look for the first occurrence of JAVA_OPTS and change the -Xmx option according to your needs.

这篇关于如何增加 WildFly 的堆内存?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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