Question

Imap publisher heap space problem

  • 29 December 2015
  • 2 replies
  • 5 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.


2 replies

Userlevel 4
Badge +25

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.

Badge +11

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.

Reply