POP3Fido problem: java.lang.OutOfMemoryError

Hi,

I’m evaluating the product POP3Fido and I have a problem. I try to cath a big email from my ISP (more than 20Mb), and the POP3Fido thread crashes (java.lang.OutOfMemoryError), and the mail is lost. The trace from the console log is:

load runjava POP3Fido

06/12/2003 16:07:00 JVM: Java Virtual Machine initialized.

06/12/2003 16:07:01 RunJava: Started POP3Fido Java task.

06/12/2003 16:07:01 RunJava JVM: POP3Fido - Version 2.01.04 (c) 1996-2003 KEY Enterprise

Solutions (7 Mar 2003) [Trial Version]

06/12/2003 16:07:01 RunJava JVM: POP3Fido - JavaMail Version: 1.3

06/12/2003 16:07:02 RunJava JVM: POP3Fido - POP3 Handler: Sun Microsystems, Inc

06/12/2003 16:07:02 RunJava JVM: POP3Fido - SMTP Handler: Sun Microsystems, Inc

06/12/2003 16:07:02 RunJava JVM: POP3Fido - Dispatching job to thread 1

06/12/2003 16:07:02 RunJava JVM: POP3Fido - (1)Retrieving from 191.1.226.162 (pop)

06/12/2003 16:07:02 RunJava JVM: POP3Fido - (1)1 messages in mailbox

06/12/2003 16:08:02 RunJava JVM: POP3Fido - Reloading configuration

06/12/2003 16:08:02 RunJava JVM: POP3Fido - Handling Internet domain: ‘domain.com

06/12/2003 16:08:02 RunJava JVM: POP3Fido - Server Config - SMTPServer:aragorn;SMTPDomains:domain.com;Polling Delay:1;Number of Threads:4;Debug Level:5;Append Domain:true;hiddenBcc:null

06/12/2003 16:08:02 RunJava JVM: POP3Fido - POP3 Connection - SMTP Name:null;POP3 Server:

191.1.226.162;POP3 Port:110;POP3 User:pop;Start Hour:8;End Hour:17;Enabled Days:6,5,4,3,2;Delete POP3 Mail:true;Delete Oversize Mail:false;Max Msg Size:31457280;Parse Cc:false;Parse Bcc:false;UID Count:0

06/12/2003 16:08:02 RunJava JVM: POP3Fido - Dispatching job to thread 1

06/12/2003 16:08:16 RunJava JVM: POP3Fido - (1)****** 0(7B414C61B5C605EFC1256D43004D7837): Admin_Admin/Morse@morse.es POP3 big attach (24611189 bytes)

06/12/2003 16:08:16 RunJava JVM: POP3Fido - Guessing at recipients by parsing To/Cc/Bcc. This is not very reliable. Please ask your ISP to add X-Rcpt-To or Envelope-To support!

06/12/2003 16:08:16 RunJava JVM: POP3Fido - Parsing recipient manel.bascunana@domain.com

06/12/2003 16:08:16 RunJava JVM: POP3Fido - Recipient domain is domain.com

06/12/2003 16:08:16 RunJava JVM: POP3Fido - Recipient found: manel.bascunana@domain.com

06/12/2003 16:08:16 RunJava JVM: POP3Fido - (1)Writing to /tmp/PFM(1)2680.tmp

06/12/2003 16:09:02 RunJava JVM: POP3Fido - Reloading configuration

06/12/2003 16:09:02 RunJava JVM: POP3Fido - Handling Internet domain: ‘domain.com

06/12/2003 16:09:02 RunJava JVM: POP3Fido - Server Config - SMTPServer:aragorn;SMTPDomain

s:domain.com;Polling Delay:1;Number of Threads:4;Debug Level:5;Append Domain:true;hiddenBcc:null

06/12/2003 16:09:02 RunJava JVM: POP3Fido - POP3 Connection - SMTP Name:null;POP3 Server:

191.1.226.162;POP3 Port:110;POP3 User:pop;Start Hour:8;End Hour:17;Enabled Days:6,5,4,3,2;Delete POP3 Mail:true;Delete Oversize Mail:false;Max Msg Size:31457280;Parse Cc:false;Parse Bcc:false;UID Count:0

06/12/2003 16:10:26 RunJava JVM: POP3Fido - (1)Message tagged for deletion

06/12/2003 16:10:26 RunJava JVM: POP3Fido - (1)Cleaning up memory because we downloaded 24611189 bytes

06/12/2003 16:10:26 RunJava JVM: POP3Fido - (1)Sending to Notes/Domino SMTP Server

06/12/2003 16:10:26 RunJava JVM: POP3Fido - (1)Connecting to aragorn for mail delivery…

06/12/2003 16:10:27 RunJava JVM: java.lang.OutOfMemoryError

06/12/2003 16:11:04 RunJava JVM: POP3Fido - Reloading configuration

06/12/2003 16:11:04 RunJava JVM: POP3Fido - Handling Internet domain: ‘domain.com

06/12/2003 16:11:04 RunJava JVM: POP3Fido - Server Config - SMTPServer:aragorn;SMTPDomains:domain.com;Polling Delay:1;Number of Threads:4;Debug Level:5;Append Domain:true;hiddenBc

06/12/2003 16:11:04 RunJava JVM: POP3Fido - POP3 Connection - SMTP Name:null;POP3 Server:

191.1.226.162;POP3 Port:110;POP3 User:pop;Start Hour:8;End Hour:17;Enabled Days:6,5,4,3,2;Delete POP3 Mail:true;Delete Oversize Mail:false;Max Msg Size:31457280;Parse Cc:false;Parse Bcc:false;UID Count:0

06/12/2003 16:11:04 RunJava JVM: POP3Fido - **** Thread 1 is dead!!!

06/12/2003 16:11:04 RunJava JVM: POP3Fido - Dispatching job to thread 2

06/12/2003 16:11:04 RunJava JVM: POP3Fido - (2)Retrieving from 191.1.226.162 (pop)

06/12/2003 16:11:04 RunJava JVM: POP3Fido - (2)0 messages in mailbox

In ‘/tmp’ directory remains two temporary files:

-rw-r–r-- 1 aragorn notes 125 Jun 12 16:10 PFV(1)2681.tmp

-rw-r–r-- 1 aragorn notes 24611672 Jun 12 16:10 PFM(1)2680.tmp

Can I restore the original mail from this files ? or I’ve lost it forever ? Since I don’t remove this files, I can’t activate the dead thread. Is it usual ?

My server is an AIX 5.1.03 with Domino 6.0.1, 4Gb RAM and 2 CPUs.

The command ‘tell popfido showmemory’ returns:

06/12/2003 16:11:56 RunJava JVM: POP3Fido - Memory Allocated: 64.1MB; Memory Used: 18.2MB; Memory Free: 45.9MB

Can anyone help me ?

Thanks a lot.

Adrià

Subject: Change Java heap size to fix out of memory error

You can change it by setting this variable in your notes.ini:JavaMaxHeapSize

The default is 67,108,864 (64MB).

There’s unfortunately no way to recover the huge msg that was failed downloading.

If it failed during the download, it should not have deleted it on the POP3 server though, otherwise, it’s a bug.

You might want to contact POP3Fido tech support in the future :slight_smile:

ken

Subject: RE: Change Java heap size to fix out of memory error

I put ‘JavaMaxHeapSize=128mb’ in the notes.ini file, and it works.

Thank you very much Ken.

Adrià