Jira crashes with java.io.IOException: Map fail
プラットフォームについて: Data Center - この記事は、Data Center プラットフォームのアトラシアン製品に適用されます。
このナレッジベース記事は製品の Data Center バージョン用に作成されています。Data Center 固有ではない機能の Data Center ナレッジベースは、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。
*Fisheye および Crucible は除く
問題
Jira Crashes and results in an OutOfMemoryError.
atlassian-jira.log
に次のメッセージが表示される。
Caused by: java.lang.OutOfMemoryError: Map failed
at sun.nio.ch.FileChannelImpl.map0(Native Method)
at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:846)
環境
Jira Data Center
原因
The OS (unix based) was preventing Jira from using the amount of memory allocated for JAVA.
ソリューション
Allow unlimited memory usage for the user running Jira with the following command. This will remove any limits to virtual memory for the Jira process.
ulimit -v unlimited
One of the ways to do this is to add the line above to the Jira start-up script $JIRA-installation-directory/bin/start-jira.sh.