James, We did this to ensure that the JVM both reserves and commits the total amount of RAM we want allocated to it as soon as it starts. By configuring this way, we ensure that cycles are not wasted on incrementally resizing the heap as the process grows. In addition, the JVM requires it's heap to be a single contiguous area in memory. By committing everything at the outset we eliminate the risk of there not being enough contiguous space available to satisfy the max value.
Really useful documents on Java memory and GC tuning/troubleshooting: For JVM 1.4.2: http://java.sun.com/docs/hotspot/gc1.4.2 For JVM 5: http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html Thanks, Mike On Tue, 18 Apr 2006 06:37:15 -0700, McKenzie, James J C-E LCMC HQISEC/L3 <[EMAIL PROTECTED]> wrote: >Michael: > >Your min and max size are the same, 512MB. Why? > >James McKenzie >Remedy Engineer >C-E LCMC HQISEC, US Army >L-3 GSI >"Innovative Solutions, Extraordinary Results" > >-----Original Message----- >From: Action Request System discussion list(ARSList) >[mailto:[EMAIL PROTECTED] Behalf Of Michael Friedhoff >Sent: Monday, April 17, 2006 1:00 PM >To: [email protected] >Subject: Re: Remedy mail issue:: Urgent > > >Tarun, > >We experienced similar problems and we were able to resolve this by >expanding the heap size of the java virtual machine. > >This is done by modifying the command line in the emaild.sh file in the >AREmail install directory that actually runs the mail server to add the - >Xms (starting heap size) and -Xmx (max heap size) options. For example, >in the bloe snippet we have increased both the initial and the max heap >size to 512 Mb. > >exec ${JAVA_BIN}/java -Djava.library.path=${InstallPath} -cp ${CP_PATH} \ > -Xms512m \ > -Xmx512m \ > com.remedy.arsys.emaildaemon.EmailDaemon -d >${InstallPath} >${LogFile} 2>&1 > >No matter how much RAM you actually have on the bax, a java app such as >the AREmail server wil only be able to access as much memory as you have >allocated to the JVM. > >Hope this helps, > >Mike Friedhoff >[EMAIL PROTECTED] > > > > >On Tue, 18 Apr 2006 01:18:32 +0530, Tarun Kumar SHARMA ><[EMAIL PROTECTED]> wrote: > >>Hi Fred, >> >>Following is the entry we could find in the emaild.sh_log. Any suggestion >>what should be done. >> >> >>Checking connection to server: >>loaded library >>Successfully connected. >>Exception in thread "Email Daemon" java.lang.OutOfMemoryError >>Exception in thread "Email Daemon" java.lang.OutOfMemoryError >>Exception in thread "Email Daemon" java.lang.OutOfMemoryError >>Exception in thread "Email Daemon" java.lang.OutOfMemoryError >>Exception in thread "Email Daemon" java.lang.OutOfMemoryError >>Exception in thread "Email Daemon" java.lang.OutOfMemoryError >> >> >>Tarun. >> >> >> >>-----Original Message----- >>From: Action Request System discussion list(ARSList) >>[mailto:[EMAIL PROTECTED] On Behalf Of Grooms, Frederick W >>Sent: Tuesday, April 18, 2006 12:09 AM >>To: [email protected] >>Subject: Re: Remedy mail issue:: Urgent >> >> >>** >>On Unix the log files are located in a Logs directory under the directory >>where you installed the Email server engine (i.e. if you installed the >Email >>server in /apps/remedy/AREmail the log files would be put in >>/apps/remedy/AREmail/Logs). I'm not sure about where it is on Windows, >>probably something similiar. >> >>On your message in the AR System Email Messages form. What is the value >for >>the Send Message field (Set the Display Advanced Options field to Yes and >>look at the Message Information tab)? >> >>Fred >> >> _____ >> >>From: Action Request System discussion list(ARSList) >>[mailto:[EMAIL PROTECTED] On Behalf Of Tarun Kumar SHARMA >>Sent: Monday, April 17, 2006 12:35 PM >>To: [email protected] >>Subject: Re: Remedy mail issue:: Urgent >> >> >>** >>Hi Roney/Fredrick, >> >>The email message form contains the message there only and are hence not >>sent. >> >>For email error form, there is NO entry. Can you please tell where to look >>for the email log file. >> >>thanks, >>Tarun. >> >>-----Original Message----- >>From: Action Request System discussion list(ARSList) >>[mailto:[EMAIL PROTECTED] On Behalf Of Grooms, Frederick W >>Sent: Monday, April 17, 2006 10:32 PM >>To: [email protected] >>Subject: Re: Remedy mail issue:: Urgent >> >> >>** >>Any errors in the Email Errors form or in the Email log file? >> >> _____ >> >>From: Action Request System discussion list(ARSList) >>[mailto:[EMAIL PROTECTED] On Behalf Of Roney Samuel >>Sent: Monday, April 17, 2006 12:00 PM >>To: [email protected] >>Subject: Re: Remedy mail issue:: Urgent >> >> >>** >>Hey Tarun, >> Have you checked the Email messages form? what is the >>status of the email sent? Is it showing as sent. If it is showing as sent >>then, I do not see a configuration issue with remedy. >> >>Regards, >>Roney Samuel Varghese >> >> >>On 4/17/06, Tarun Kumar SHARMA <[EMAIL PROTECTED]> wrote: >> >>Hi All, >> >>We are facing problem with Email on one of our Remedy server. >> >>We have done the required configuration, the email services are running, >the >>accounts being used are validated to be correct, but still the mails are >NOT >>going out from the system. >> >>Can someone suggest, what can be the probable reason for same. As per >email >>admin, there is no attempt of connection being made from Remedy server to >>email server, suggesting some issue with configuration. >> >>Thanks for immediate response if possible. >> >>Best Regards, >>Shashi. >> >>_________________________________________________________________________ _ >__ >>___ >>UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org >> >> >> >>__20060125_______________________This posting was submitted with HTML in >>it___ __20060125_______________________This posting was submitted with >HTML >>in it___ >> >>__20060125_______________________This posting was submitted with HTML in >>it___ __20060125_______________________This posting was submitted with >HTML >>in it___ >> >> >>_________________________________________________________________________ _ >_____ >>UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org >> > >__________________________________________________________________________ __ >___ >UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org > >__________________________________________________________________________ _____ >UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org > _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org

