OutOfMemory due to Remote API

お困りですか?

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

コミュニティに質問

[Unable to render {include} The included page could not be found. ({include} をレンダリングできません。ページが見つかりませんでした)] を選択し、

症状

JIRA crashes or behaves unpredictably. Logs contain errors like:

java.lang.OutOfMemoryError: Java heap space 

原因

There are two causes:

  1. The SOAP getProjects call loads a huge object graph, particularly when there are many users in JIRA, and thus can cause OutOfMemoryErrors. See JRA-10828.
  2. A Remote API script that creates an infinite loop, stack overflow, or a highly demanding set of rapid requests can be the culprit.

診断

To assess which script may be causing performance issues, add access logging and correspond to the out of memory errors.

ソリューション

  1. As a temporary measure, increase JIRA's Heap Space allocation.
  2. Ensure no locally run SOAP clients use getProjects. Use getProjectsNoSchemes instead.
  3. Disable or modify scripts as appropriate.
最終更新日: 2016 年 2 月 26 日

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

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