Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: Leonxxx86 on November 17, 2015, 11:32:43 PM

Title: Email Server
Post by: Leonxxx86 on November 17, 2015, 11:32:43 PM
Email Server shutdown, checked the logs and found

OutOfMemoryError: Java heap space

the question is where can I increase Java memory to fix this issue? Thanks
Title: Re: Email Server
Post by: raza990 on November 18, 2015, 08:45:01 AM
You can find the file "JavaEmailServerDriver" in Email server installation directory. Increase "-Xmx512M" to the value which you want to configure.

Title: Re: Email Server
Post by: Leonxxx86 on November 18, 2015, 11:52:35 PM
Awesome thanks, do I increase the -Xmx512M only, anything else need to be changed in CME for example?
Title: Re: Email Server
Post by: cavagnaro on November 19, 2015, 04:26:19 AM
Just modify
Title: Re: Email Server
Post by: Leonxxx86 on November 27, 2015, 04:58:07 AM
Done, thanks for your help guys!
Title: Re: Email Server
Post by: Adam G on November 27, 2015, 08:30:59 AM
FYI:

In the majority of cases, you can set the xmx memory value switch (-xmx512M) within the start-up parameters in CIM/CME/Administrator.  In that way, if you need to shut-down/restart gracefully (using Administrator or SCI), the parameter will be automatically invoked.

Otherwise, you will need to remember to add the -xmx switch to the start-up parameters, each time to need to restart the Application on the Server.
Title: Re: Email Server
Post by: Gulden_NL on January 14, 2016, 05:53:44 PM
Exactly Adam!  Very good point.  I just ran across it this morning in a test environment at a client. There is a lonnnnng story behind this, but the short version is that rather than comb through configurations, I bounced test in two different test environments and much of it didn't match. Environment #1 was set up by a Genesys guru, environment #2 was set up by a Genesys....ummmm......quack.