Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
中添加这样的行
在 /etc/sysconfig/openfire OPENFIRE_OPTS="-Xms256m -Xmx512m"
(参考:网站)
Add a line like this in /etc/sysconfig/openfire
OPENFIRE_OPTS="-Xms256m -Xmx512m"
(Reference: site)
将此值更改
#OPENFIRE_OPTS="-Xmx1024m"
为
OPENFIRE_OPTS="-Xms256m -Xmx2048m"
:在此位置 (CentOS/Linux):
vi /etc/sysconfig/openfire
Change this value:
to
In this location (CentOS/Linux):
找到启动Java的命令并添加此命令行参数:-Xmx
-Xmx
例如,使用-Xmx128m让Java使用128 MB内存。 完整的命令可能类似于 /path/to/java -Xmx128m -jar openfire.jar
-Xmx128m
/path/to/java -Xmx128m -jar openfire.jar
Find the command that starts Java and add this command line parameter: -Xmx<size>
-Xmx<size>
For example, use -Xmx128m to let Java use 128 MB of memory. The full command might be something like /path/to/java -Xmx128m -jar openfire.jar
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(3)
中添加这样的行
在 /etc/sysconfig/openfire OPENFIRE_OPTS="-Xms256m -Xmx512m"
(参考:网站)
Add a line like this in /etc/sysconfig/openfire
OPENFIRE_OPTS="-Xms256m -Xmx512m"
(Reference: site)
将此值更改
为
:在此位置 (CentOS/Linux):
Change this value:
to
In this location (CentOS/Linux):
找到启动Java的命令并添加此命令行参数:
-Xmx
例如,使用
-Xmx128m
让Java使用128 MB内存。 完整的命令可能类似于/path/to/java -Xmx128m -jar openfire.jar
Find the command that starts Java and add this command line parameter:
-Xmx<size>
For example, use
-Xmx128m
to let Java use 128 MB of memory. The full command might be something like/path/to/java -Xmx128m -jar openfire.jar