大規模な受信箱の処理による OutOfMemory

お困りですか?

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

コミュニティに質問

This page describes a singular cause for Out Of Memory Heap Space Errors. Refer to JIRA Crashes Due to OutOfMemoryError Java heap space for a general discussion.

症状

JIRA crashes or behaves unpredictably when processing email. Logs contain errors like:

 
java.lang.OutOfMemoryError: Java heap space 

原因

JIRA's email handler will continually scan a mailbox trying to clear out messages. As it processes the email it will keep allocating memory to the task and eventually run out of memory. With hundreds of thousands of emails in a mailbox watched by the email handler, JIRA can run out of memory.

診断

To assess this issue, check the accounts configured from Creating Issues and Comments from Email. The troubleshooting section of that page offers tips on how to debug mail messages, which you can count to see the volume of mail handled.

ソリューション

  1. As a temporary measure, increase JIRA's Heap Space allocation.
  2. Clean out the mailbox and double-check its settings.

最終更新日: 2016 年 2 月 26 日

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

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