I also solved this problem a few years back by setting up a few mail box 
filters on our mail server that limited the attachement size of mail coming in. 
If a message came in that was over 5mb we would dump it via the filter and auto 
reply back to the customer with an alternate method of delivering large files. 
We also setup a job to restart the AR mail service every night at 4 am. After 
doing this the issue went away for ever.


--------------------------------------------
On Wed, 1/7/15, Davin Lindner-Green <[email protected]> wrote:

 Subject: Re: Email engine out of memory error
 To: [email protected]
 Date: Wednesday, January 7, 2015, 11:57 AM
 
 Hello Hany,
 
 You don't mention the
 version of Email Engine or whether you are on Windows, but
 if you are on Windows one problem that exists with the email
 engine at least in version 7.6.4 (and others as well) is
 that there is a leading space in one of the registry
 keys.
 
 If you click Start
 > Run > Regedit, then locate the registry keys at
 “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\BMC
 Remedy Email Engine - <your server name>
 1\Parameters”
 
 Check the
 values in JVM Option Number 3 and 4. If you edit the value,
 you may find that there is a leading space (the first
 character is a space). If so remove that leading space, save
 the value and restart email engine.
 
 The effect of the leading space is that the
 email engine JVM doesn't get the -Xmx option correctly
 so runs with a default max heap size, which is not
 sufficient and leads to these types of errors.
 
 I don't know if you
 followed Monika's suggestion below to edit the
 "Java Runtime Environment Settings" whether that
 would also resolve this issue. I'm not clear on when and
 how parameters set in the Java Control Panel are passed to
 Java processes like email engine, so that suggestion may
 also fix the issue as well.
 
 Thanks, hope that helps,
 Davin
 
 www.raptek.com
 * BMC Level 1
 Support Partner
 * BMC Software Solutions
 Partner
 * BMC Education Partner
 * Remedy On Demand - Hosted ITSM Solutions
 
 
 On Jan 7,
 2015, at 2:24 AM, monika ashtewar <[email protected]>
 wrote:
 
 > **
 > Hi Hany,
 > 
 > Following are the steps to increase heap
 size in java-
 > 
 >
 Step1:- Go to Control Panel. Click on "Start"
 button. Then click on "Control Panel." 
 > Step2:- Go to Java settings. In the next
 dialog click on "Java," usually at the bottom of
 the other Programs; "Java Control Panel" dialog 
 pop-up opens. 
 > Step3:- Select
 "Java" tab. Inside the Java tab, click on
 "View" button. It opens the "Java Runtime
 Environment Settings" 
 >
 Step4:-Change amount of heap. In the "Runtime
 Parameters" column change the value, or if it is blank
 decide for the new value, of the Java memory. 
 > Step5:-Modify the parameter. To modify the
 parameter, double click in the "Runtime
 Parameters" column and,
 >       
     
 >            type -Xms512m -
 that assigns 512MB memory for the Java.
 >            type -Xms1024m - that
 assigns 1GB memory for the Java.
 >   
         type -Xms2048m - that assigns 2GB memory for the
 Java.
 >            type -Xms3072m -
 that assigns 3GB memory for the Java, and so on.
 >     • Please note, it begins with a
 minus sign and ends to an m.
 >     •
 Also note, there is no blank space between characters.
 > Kindly confirm after increasing the heap
 size the issue is resolved or not.
 > 
 > Thanks and Regards
 >
 Monika Ashtewar 
 > 
 >
 
 > On 1/7/2015 5:00 AM, Hany Abd Elfattah
 wrote:
 >> ** Hi All and happy new year
 
 >> I face out of memory error on the
 email message error, tried to restart the mail service many
 times but with the same error, vendor told me to increase
 the java heap size but I couldn't find from where
 >> 
 >> The error as
 follows
 >> 
 >>
 452 4.3.1 Out of memory
 >>
 com.sun.mail.smtp.SMTPSendFailedException: 452 4.3.1 Out of
 memory
 >>  
 >>                 at
 com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388)
 >>                 at
 com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959)
 >>                 at
 com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583)
 >>                 at
 com.bmc.arsys.emaildaemon.SenderModule.sendMessage(SenderModule.java:460)
 >>                 at
 com.bmc.arsys.emaildaemon.SenderModule.doWork(SenderModule.java:191)
 >>                 at
 com.bmc.arsys.emaildaemon.ThreadBase.run(ThreadBase.java:302)
 >> 
 >> Thx,
 >> Hany
 >> 
 >> 
 >> 
 >> -- 
 >> BR,
 >> Hany
 >>
 _ARSlist: "Where the Answers Are" and have been
 for 20 years_
 > 
 >
 _ARSlist: "Where the Answers Are" and have been
 for 20 years_
 
 _______________________________________________________________________________
 UNSUBSCRIBE or access ARSlist Archives at
 www.arslist.org
 "Where the Answers
 Are, and have been for 20
 years"

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to