当前位置:网站首页>【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.sh
2)修改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内存配置是否修改成功。
边栏推荐
- Big Ben (Lua)
- 索引总结(突击版本)
- 脑洞从何而来?加州大学最新研究:有创造力的人神经连接会「抄近道」
- 5billion, another master fund was born in Fujian
- [HDU] 5248 sequence transformation (greedy + dichotomy) [recommended collection]
- The strength index of specialized and new software development enterprises was released, and Kirin Xin'an was honored on the list
- How to share the same storage among multiple kubernetes clusters
- cmd命令进入MySQL时报服务名或者命令错误(傻瓜式教学)
- # 欢迎使用Markdown编辑器
- 初识缓存以及ehcache初体验「建议收藏」
猜你喜欢
Former richest man, addicted to farming
Redis master-slave and sentinel master-slave switchover are built step by step
Kirin Xin'an joins Ningxia commercial cipher Association
Micro service remote debug, nocalhost + rainbow micro service development second bullet
Jerry's headphones with the same channel are not allowed to pair [article]
# 欢迎使用Markdown编辑器
Kirin Xin'an with heterogeneous integration cloud financial information and innovation solutions appeared at the 15th Hunan Financial Technology Exchange Conference
Kunpeng developer summit 2022 | Kirin Xin'an and Kunpeng jointly build a new ecosystem of computing industry
微服务远程Debug,Nocalhost + Rainbond微服务开发第二弹
多个kubernetes集群如何实现共享同一个存储
随机推荐
前首富,沉迷种田
Review of network attack and defense
Tips and tricks of image segmentation summarized from 39 Kabul competitions
Big Ben (Lua)
Numpy——axis
关于ssh登录时卡顿30s左右的问题调试处理
Do you know all four common cache modes?
The research group of the Hunan Organizing Committee of the 24th China Association for science and technology visited Kirin Xin'an
Uvalive – 4621 CAV greed + analysis "suggestions collection"
鸿蒙智能家居【1.0】
L1-019 who falls first (Lua)
POJ 1182 :食物链(并查集)[通俗易懂]
Policy mode - unity
Key points of anti reptile: identifying reptiles
Hongmeng smart home [1.0]
【RT-Thread env 工具安装】
Flipping Game(枚举)
转置卷积理论解释(输入输出大小分析)
LeetCode 535(C#)
杰理之按键发起配对【篇】