GFI Software

Welcome to the GFI Software community forum! For support please open a ticket from https://support.gfi.com.

Home » GFI User Forums » Kerio Connect » XMPP Service Fails to Start properly (Not enough Java Heap Space)
XMPP Service Fails to Start properly [message #109772] Tue, 14 January 2014 15:59 Go to next message
GetSync'd is currently offline  GetSync'd
Messages: 92
Registered: December 2007
Location: North Carolina
When starting up Kerio Connect, found that the Java process goes 'zombie'. When I shutdown the service and re-start I have found the following error in the XMPP Logs file.

Caused by: java.sql.SQLException: Java exception: 'Java heap space: java.lang.OutOfMemoryError'.
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLExcepti on(Unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsFor TransportAcrossDRDA(Unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLExcep tion(Unknown Source)
at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.javaException(Unknown Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQL Exception(Unknown Source)
... 25 more
Caused by: java.lang.OutOfMemoryError: Java heap space



GetSync'd.Com
Certified Hosted Kerio Connect Solutions
Kerio Mail Boxes / Dedicated Kerio Servers / Managed Kerio Cloud
http://www.getsyncd.com
Re: XMPP Service Fails to Start properly [message #109774 is a reply to message #109772] Tue, 14 January 2014 16:07 Go to previous messageGo to next message
Pavel Dobry (Kerio) is currently offline  Pavel Dobry (Kerio)
Messages: 2057
Registered: October 2003
Location: Czech Republic
You probably need to increase the memory limit for Java process running the xmpp server.

Re: XMPP Service Fails to Start properly [message #109775 is a reply to message #109772] Tue, 14 January 2014 16:11 Go to previous messageGo to next message
GetSync'd is currently offline  GetSync'd
Messages: 92
Registered: December 2007
Location: North Carolina
Pavel,

I agree, but I have been unable to locate where that is located in the scripts or configuration files.

Mike


GetSync'd.Com
Certified Hosted Kerio Connect Solutions
Kerio Mail Boxes / Dedicated Kerio Servers / Managed Kerio Cloud
http://www.getsyncd.com
Re: XMPP Service Fails to Start properly [message #109931 is a reply to message #109775] Mon, 20 January 2014 16:53 Go to previous messageGo to next message
GetSync'd is currently offline  GetSync'd
Messages: 92
Registered: December 2007
Location: North Carolina
Pavel,

Never got a response to my question above. I have also asked Jaroslav directly about how to change the heap space for Java. I've received a lot of beating around the bush, but no direct answer. How do I change the heap space for Java within Kerio Connect?

Mike


GetSync'd.Com
Certified Hosted Kerio Connect Solutions
Kerio Mail Boxes / Dedicated Kerio Servers / Managed Kerio Cloud
http://www.getsyncd.com
Re: XMPP Service Fails to Start properly [message #109935 is a reply to message #109931] Mon, 20 January 2014 17:24 Go to previous message
Tomas Skoda (Kerio)
Messages: 107
Registered: May 2012
Hi Mike,

Stop the server, find 'InstantMessaging' table in mailserver.cfg, update value of 'MaxMemorySize' variable. Its value is in [MB] units. 512 should be sufficient. If not I recommend you to increase it with 128 MB steps.

Cheers,
Tomas Skoda
Previous Topic: correct procedure for setting up a new server and linking to current kerio setup
Next Topic: Spam filtering services
Goto Forum:
  


Current Time: Sun Jun 04 08:56:07 CEST 2023

Total time taken to generate the page: 0.03261 seconds