在这个页面中描述 Confluence 启动时如何设置 Java 属性和其余选项。html
请查看 How to fix out of memory errors by increasing available memory 页面中内容来得到如何处理 OutOfMemory 错误。spa
在 Linux 安装环境下配置系统属性:code
<installation-directory>/bin/setenv.sh
文件。 添加全部的参数为空格分离列表,在引号内。htm
在 Windows 中当使用 .bat 文件启动的时候配置系统启动参数:get
<installation-directory>/bin/setenv.bat
文件。 全部添加的参数都使用的是空格分离列表。请肯定不要修改 %CATALINA_OPTS% 字符。io
https://www.cwiki.us/display/CONF6ZH/Configuring+System+Properties配置