当前位置:网站首页>【Confluence】JVM内存调整
【Confluence】JVM内存调整
2022-07-07 17:27:00 【cindysz110】
背景:Confluence 7.16.2 Data Center版本,默认安装时JVM内存设置为1024M,当同时访问用户数较多时,服务卡死,日志报JVM OutOfMemoryError。
问题解决:修改Confluence配置文件,增加JVM内存。
步骤:
1)停止Confluence服务
[[email protected] ~]# cd /data/atlassian/confluence/bin
[[email protected] bin]# ./stop-confluence.sh2)修改Confluence配置文件
[[email protected] bin]# vi /data/atlassian/confluence/bin/setenv.sh
修改 CATALINA_OPTS="-Xms1024m -Xmx1024m ${CATALINA_OPTS}"
为 CATALINA_OPTS="-Xms8g -Xmx8g ${CATALINA_OPTS}"说明:
- -Xms:Java Heap最大值,默认值为物理内存的1/4,最佳设值应该视物理内存大小及计算机内其他内存开销而定
- -Xmx:Java Heap初始值,Server端JVM最好将-Xms和-Xmx设为相同值,开发测试机JVM可以保留默认值
3)启动Confluence服务
|
服务启动成功后,可以使用管理员账号登录,进入 一般配置 - 系统信息 查看JVM内存配置是否修改成功。
边栏推荐
- How to buy stocks on your mobile phone and open an account? Is it safe to open an account
- how to prove compiler‘s correctness
- 歌单11111
- Research and practice of super-resolution technology in the field of real-time audio and video
- Micro service remote debug, nocalhost + rainbow micro service development second bullet
- 手把手教姐姐写消息队列
- cmd命令进入MySQL时报服务名或者命令错误(傻瓜式教学)
- How many are there (Lua)
- Make insurance more "safe"! Kirin Xin'an one cloud multi-core cloud desktop won the bid of China Life Insurance, helping the innovation and development of financial and insurance information technolog
- 杰理之关于 TWS 声道配置【篇】
猜你喜欢

Experiment 1 of Compilation Principle: automatic implementation of lexical analyzer (Lex lexical analysis)

杰理之关于 TWS 声道配置【篇】

SD_ DATA_ RECEIVE_ SHIFT_ REGISTER

Scientists have observed for the first time that the "electron vortex" helps to design more efficient electronic products

The top of slashdata developer tool is up to you!!!

Version 2.0 of tapdata, the open source live data platform, has been released

ES6笔记一

Review of network attack and defense

Do you know all four common cache modes?

杰理之关于 TWS 配对方式配置【篇】
随机推荐
POJ 1182: food chain (parallel search) [easy to understand]
多个kubernetes集群如何实现共享同一个存储
Kirin Xin'an won the bid for the new generation dispatching project of State Grid!
Kirin Xin'an joins Ningxia commercial cipher Association
现在股票开户可以直接在网上开吗?安全吗。
Command mode - unity
How to implement safety practice in software development stage
Draw squares with Obama (Lua)
Multimodal point cloud fusion and visual location based on image and laser
648. 单词替换
Redis master-slave and sentinel master-slave switchover are built step by step
[HDU] 5248 sequence transformation (greedy + dichotomy) [recommended collection]
CMD command enters MySQL times service name or command error (fool teaching)
LC:字符串转换整数 (atoi) + 外观数列 + 最长公共前缀
杰理之关于 TWS 交叉配对的配置【篇】
Numpy——2. Shape of array
Longest common prefix (leetcode question 14)
R语言ggplot2可视化:使用ggpubr包的ggecdf函数可视化分组经验累积密度分布函数曲线、linetype参数指定不同分组曲线的线型
凌云出海记 | 赛盒&华为云:共助跨境电商行业可持续发展
Scientists have observed for the first time that the "electron vortex" helps to design more efficient electronic products