" /> Email Server - Genesys CTI User Forum

Author Topic: Email Server  (Read 3005 times)

Offline Leonxxx86

  • Full Member
  • ***
  • Posts: 126
  • Karma: 0
Email Server
« on: November 17, 2015, 11:32:43 PM »
Advertisement
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

Offline raza990

  • Full Member
  • ***
  • Posts: 214
  • Karma: 5
Re: Email Server
« Reply #1 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.


Offline Leonxxx86

  • Full Member
  • ***
  • Posts: 126
  • Karma: 0
Re: Email Server
« Reply #2 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?

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Email Server
« Reply #3 on: November 19, 2015, 04:26:19 AM »
Just modify

Offline Leonxxx86

  • Full Member
  • ***
  • Posts: 126
  • Karma: 0
Re: Email Server
« Reply #4 on: November 27, 2015, 04:58:07 AM »
Done, thanks for your help guys!

Adam G

  • Guest
Re: Email Server
« Reply #5 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.

Offline Gulden_NL

  • Full Member
  • ***
  • Posts: 109
  • Karma: 1
    • VoxPeritus - The Voice of Experience
Re: Email Server
« Reply #6 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.