Contents Of:



ProductVersion
Bitbucket Server5.7.1
OSWindows 2012 / CentOS 7



I.Windows Service

Zip 형식을 이용해 설치된 경우

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탭 확인

II.Linux

Bitbucket Memory 설정

1.Bitbucket 설치 폴더의 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.서비스 재시작