OutOfMemory due to Mail Loop

Still need help?

The Atlassian Community is here for you.

Ask the community


JIRA crashes or behaves unpredictably. Email notifications may stop being sent. Logs contain errors like:

java.lang.OutOfMemoryError: Java heap space 


Unable to render {include} The included page could not be found.


JIRA can get caught in a mail loop, where a notification is sent to an inbox that is then processed by a mail handler.


  1. As a temporary measure, increase JIRA's Heap Space allocation.
  2. Upgrade JIRA
  3. Configure either the Notification scheme or the Mail Handler to prevent the loop. It is generally a good idea to set bulk=forward and set a Forward Email address, to prevent mail loops between JIRA and another automated service (eg. another JIRA installation). See Handler Parameters for details on how to set the parameters for the handler.

See JRA-11074 for further updates.

Last modified on Mar 30, 2016

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.