페이지 트리

버전 비교

  • 이 줄이 추가되었습니다.
  • 이 줄이 삭제되었습니다.
  • 서식이 변경되었습니다.
bordertrue

Contents Of:

목차
maxLevel3

ProductVersion
Bitbucket Server5.7.1
OSWindows 2012 / CentOS 7

I.Windows Service

Bitbucket Memory 설정

1.윈도우 메뉴에서 "Windows Start Menu" 클릭

Image Added

2.시작메뉴에서 앱 확장 기능 클릭

  • 이미지 하단 아이콘 클릭

Image Added

3.Bitbucket 메뉴에서 “Configure Bitbucket Service” 클릭

Image Added

4.Properties 팝업화면에서 JAVA탭 확인

  • Initial memory poolMaximum memory pool 사이즈 설정
  • 서비스 시작

Image Added

II.Linux

Bitbucket Memory 설정

1.Bitbucket 설치 폴더의 bin 폴더에서 “_start-webapp.sh” 파일  설정 변경

  • Ex: bitbucket-5.7.1/bin/_start-webapp.sh
코드 블럭
# The following 2 settings control the
minimum and maximum memory allocated to the Java virtual machine.

# For larger instances, the maximum
amount will need to be increased.
#
if [ -z "${JVM_MINIMUM_MEMORY}" ]; then
JVM_MINIMUM_MEMORY=512m
fi
if [ -z "${JVM_MAXIMUM_MEMORY}" ]; then
    JVM_MAXIMUM_MEMORY=1g

2.서비스 재시작

이 문서는 Bitbucket의 Memory 증설을 위한 가이드를 제공 한다.

목차

설치 환경

OS : Windows Server 2012 R2 Datacenter 64bit

OS : CentOS 7 64bit

Bitbucket : 4.14.4

Windows

Bitbucket Memory 설정

Bitbucket Memory 설정하기 위해 서비스를 중지하고 실행 파일 경로를 복사한다.

Image Removed

cmd 실행 하여 tomcat8.exe //RS 를 tomcat8w //ES 으로 변경하여 실행한다.

Image Removed

JAVA 탭으로 이동하여 Initial memory pool, Maximum memory pool 사이즈를 늘려주고 서비스를 시작한다.

Image Removed

Linux

Bitbucket Memory 설정

Bitbucket의 <Install_directory>/bin/setenv.sh 파일을 아래 그림과 같이 수정 후 서비스를 재시작 한다.

  • JVM_MINIMUM_MEMORY="1024m"
  • JVM_MAXIMUM_MEMORY="1024m"

Image Removed