Genesys CTI User Forum
		Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started 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 
			 
			
			- 
				You can find the file "JavaEmailServerDriver" in Email server installation directory. Increase "-Xmx512M" to the value which you want to configure.
			 
			
			- 
				Awesome thanks, do I increase the -Xmx512M only, anything else need to be changed in CME for example?
			
 
			
			- 
				Just modify 
			
 
			
			- 
				Done, thanks for your help guys!
			
 
			
			- 
				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.
			 
			
			- 
				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.