赞
踩
- ###
- https://github.com/EugenMayer/docker-image-atlassian-bitbucket/blob/master/README.md
-
-
- ###
- https://hub.docker.com/r/atlassian/bitbucket-server
-
-
- ## 参考
- https://confluence.atlassian.com/bitbucketserverkb/set-heap-size-for-java-on-bitbucket-server-and-data-center-1167732189.html
调整xms参数
- ## 进入容器
- cd /opt/atlassian/bitbucket/bin
-
-
- ## vim _start-webapp.sh
-
- if [ -z "${JVM_MINIMUM_MEMORY}" ]; then
- JVM_MINIMUM_MEMORY=512m
- fi
- if [ -z "${JVM_MAXIMUM_MEMORY}" ]; then
- JVM_MAXIMUM_MEMORY=1g
- fi
改成:
- if [ -z "${JVM_MINIMUM_MEMORY}" ]; then
- JVM_MINIMUM_MEMORY=2g
- fi
- if [ -z "${JVM_MAXIMUM_MEMORY}" ]; then
- JVM_MAXIMUM_MEMORY=4g
- fi
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。