当前位置:   article > 正文

基于Docker部署的bitbucket优化_docker bitbucket

docker bitbucket

现象

官网

  1. ###
  2. https://github.com/EugenMayer/docker-image-atlassian-bitbucket/blob/master/README.md
  3. ###
  4. https://hub.docker.com/r/atlassian/bitbucket-server
  5. ## 参考
  6. https://confluence.atlassian.com/bitbucketserverkb/set-heap-size-for-java-on-bitbucket-server-and-data-center-1167732189.html

解决

调整xms参数

  1. ## 进入容器
  2. cd /opt/atlassian/bitbucket/bin
  3. ## vim _start-webapp.sh
  4. if [ -z "${JVM_MINIMUM_MEMORY}" ]; then
  5. JVM_MINIMUM_MEMORY=512m
  6. fi
  7. if [ -z "${JVM_MAXIMUM_MEMORY}" ]; then
  8. JVM_MAXIMUM_MEMORY=1g
  9. fi

改成:

  1. if [ -z "${JVM_MINIMUM_MEMORY}" ]; then
  2. JVM_MINIMUM_MEMORY=2g
  3. fi
  4. if [ -z "${JVM_MAXIMUM_MEMORY}" ]; then
  5. JVM_MAXIMUM_MEMORY=4g
  6. fi

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/很楠不爱3/article/detail/675430
推荐阅读
相关标签
  

闽ICP备14008679号