Hi,
I have a newly installed Bitbucket 5.8 on CentOS 6.8, git version 2.16.2 and postgresql 9.6. I found that it has been allocated 13G virutal memory after startup! Further check on /proc/<pid>/status as below
(pid - process id of bitbucket process). Wondering it is normal for VmPeak and VmSize to have 13G ?! What could have gone wrong?
Name: java
State: S (sleeping)
Tgid: 67869
Pid: 67869
PPid: 1
TracerPid: 0
Uid: 500 500 500 500
Gid: 500 500 500 500
Utrace: 0
FDSize: 1024
Groups: 500
VmPeak: 13669700 kB
VmSize: 13666500 kB
VmLck: 0 kB
VmHWM: 1720016 kB
VmRSS: 1717468 kB
VmData: 13498828 kB
VmStk: 88 kB
VmExe: 4 kB
VmLib: 17184 kB
VmPTE: 4776 kB
VmSwap: 0 kB
Threads: 305
SigQ: 0/63229
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000003
SigCgt: 2000000181005ccc
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: ffffffffffffffff
Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff
Cpus_allowed_list: 0-191
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 1
nonvoluntary_ctxt_switches: 3