Contents Of:
Product | Version |
---|---|
Bitbucket Server | 5.7.1 |
OS | Windows 2012 / CentOS 7 |
I.Windows Service
Zip 형식을 이용해 설치된 경우
CMD
C:> cd <bitbucket install dir>/bin C:\Bitbucket\bin> >bservmgr.exe //ES/<Bitbucket service name> 예) C:\Bitbucket\bin> >bservmgr.exe //ES/Bitbucket
Bitbucket Memory 설정
1.윈도우 메뉴에서 "Windows Start Menu" 클릭
2.시작메뉴에서 앱 확장 기능 클릭
- 이미지 하단 아이콘 클릭
3.Bitbucket 메뉴에서 “Configure Bitbucket Service” 클릭
4.Properties 팝업화면에서 JAVA탭 확인
- Initial memory pool 과 Maximum memory pool 사이즈 설정
- 서비스 시작
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.서비스 재시작