java.io.IOException: Map fail

お困りですか?

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

コミュニティに質問

問題

Application  receives OutOfMemoryErrors and may crash. The following error appears in the logs:

Caused by: java.lang.OutOfMemoryError: Map failed
	at sun.nio.ch.FileChannelImpl.map0(Native Method)
	at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:846)

原因

The OS (unix based) was preventing the application from using the amount of memory allocated for JAVA.

ソリューション

Allow unlimited memory usage for the user running the application with the following command. This will remove any limits to virtual memory for the application process.

ulimit -v unlimited

One of the ways to do this is to add the above line to the start-up script:

For instance in Fisheye, you would add it to  $FishEye-installation-directory/bin/start.sh.

 

最終更新日 2018 年 7 月 31 日

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

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