The Bitbucket service fails to start:
os::commit_memory(0x00000000d4cc0000, 724828160, 0) failed; error='Cannot allocate memory' (errno=12)
Native memory allocation (mmap) failed to map 724828160 bytes for committing reserved memory.
I tried to add in /opt/atlassian/bitbucket/5.13.0/bin/set-jmx-opts.sh those options:
-XX:-UseCompressedOops -XX:InitialHeapSize=266338304 -XX:MaxHeapSize=4261412864
It didn't solve the problem. The host has 4GB RAM.
Hi @Maksim Kunin,
can you try disabling CompressedOops ? just remove the "-XX:-UseCompressedOops" part of the set-jmx-opts.sh.
Also, your jvm heap size settings seem weird for a server with 4GB RAM. Can you try setting both to 1024m in case the CompressedOops removal is not enough ?
Let me know if this helps,
--Alexis
Hi Alexis,
Many thanks for you response. The problem is with elasticsearch. I disable it and now the service is working.
Many thanks,
Maksim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Happy we could help you @Maksim Kunin !
Please take a moment to mark our posts as "Accepted" so that other users can find this when they run into a similar issue.
Thanks,
--Alexis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.