Slow performance and insufficent memory JRE errors with virtualized Jira server

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

  • It takes forever to access a JIRA page a short while after JIRA is started.
  • Memory seems to be used up very fast, even though it never reaches -Xmx.
  • Garbage Collection(GC) takes a very long to finish.

    Sample GC Viewer:

診断

  • JIRA is installed in a Virtual Machine(VM) using VMWare.
  • When JIRA is unresponsive, attempting to stop it results in the following error in the terminal:
Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000083000000, 1398276096, 0) failed; error='Cannot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 1398276096 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /tmp/hs_err_pid2660.log
The stop command failed. Attempting to signal the process to stop through OS signal.
Killing Tomcat with the PID: 1929
The Tomcat process has been killed.

原因

Memory Reservation is not enabled for the VM, preventing JIRA from getting sufficient memory allocated for it in a timely manner.

ソリューション

Enable Memory Reservation for the VM.

回避策

Set the minimum and the maximum memory to the same amount as per Increasing JIRA Memory.

関連コンテンツ

最終更新日 2019 年 9 月 25 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.