Professional Documents
Culture Documents
us
请查看 How to fix out of memory errors by increasing available memory 页面中内容来获得 Linux
如何处理 OutOfMemory 错误。 Windows (从 .
bat 文件启动)
Windows 服务
部署在 AWS 上
的 Confluence
数据中心
校验你的设置
识别系统属性
相关页面:
Recognized
System
Properties
How to fix out
of memory
errors by
increasing
available
memory
Linux
在 Linux 安装环境下配置系统属性:
1. 编辑 <installation-directory>/bin/setenv.sh 文件。
2. 找到 CATALINA_OPTS=
(针对 Confluence 5.5 及其早期版本,这个参数是 JAVA_OPTS=)
3. 请参考 Configuring System Properties 页面中的内容对属性参数进行配置。
添加所有的参数为空格分离列表,在引号内。
1. 编辑 <installation-directory>/bin/setenv.bat 文件。
2. 找到 set CATALINA_OPTS=%CATALINA_OPTS% 部分
(在 Confluence 5.5 及其早期版本中,这个参数为 JAVA_OPTS=%JAVA_OPTS%)
3. 请参考 Recognized System Properties 页面中的内容对属性参数进行配置。
Windows 服务
当你使用 Start Confluence Automatically on Windows as a Service 的方式启动的时候,你有下面 2 种方式来配置你的系统属性:通过 comman
d line 或者 in the Windows Registry
在上面的示例中,服务名称被命名为 Confluence121213135538。
2. 打开 Windows 的命令行窗口(选择 开始(Start )>cmd.exe)
3. cd 进入你安装 Confluence 实例的 bin 目录,然后运行下面的命令:
tomcat8w //ES//<SERVICENAME>
1. 进入注册表编辑器(开始(Start) >regedit.exe)。
2. 找到 Services 实体
HKEY_LOCAL_MACHINE >> SOFTWARE >> Apache Software Foundation >> Procrun 2.0 >> Confluence service
name
3. 修改已经存在的属性,你可以通过双击来修改变量名。
4. 希望修改其他的属性,双击选项名称。
5. 请参考 Recognized System Properties 页面中的内容对每一行变量进行配置。
3. 修改将会应用到新的节点中。
校验你的设置
查看你 Confluence 当前使用的设置,请参考 Viewing System Properties 页面中的内容。
识别系统属性
请参考 Recognized System Properties 页面中的内容来找到针对你安装 Confluence 版本可以配置的系统属性参数。