Skip to main content
Question

Imap publisher heap space problem

  • December 29, 2015
  • 2 replies
  • 14 views

I use imap to access an e-mail account and run translations based on the attached files. The process seems to run out of memory frequently causing the following information in the log:

INFORM Thread-111 Publisher_imap Exception in thread "received-mail" java.lang.OutOfMemoryError: Java heap space

Is this a known issue and how can it be fixed? The attached files which are to be processed can reach up to 5-6MB.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

mark2atsafe
Safer
Forum|alt.badge.img+59
  • Safer
  • January 5, 2016

If you haven't already, please contact our support team (http://www.safe.com/support) and ask for their assistance. They will be able to find out if this a known issue and how to get around it.


rylanatsafe
Safer
Forum|alt.badge.img+14

Hi @jakobr - I'm surprised to see this failing when the attachments aren't (relatively) that large! How often is the poll interval? How many emails are being read each time the IMAP Publication runs?

 

 

You can try increasing the maximum memory in the processMonitorConfigCore.txt file, located in <FMEServer>\\Server\\.

Find the line that starts with # Start FME Server Publisher Plugin (imap) – around Line 355.

You can increase the -Xmx256m to -Xmx512m or higher! Note that FME Server will need to be restarted for changes to take effect.

*You must also add the line NODE_OVERWRITE=true to the top of this config file for changes to be accepted.