The Kerio Connect uses built-in memory (RAM) management for specific services like instant messaging and Fulltext search. These apps are written in Java and are designed to consume a limited amount of server resources. The default values can be optimized for better-increased performance.
Administrator (root) access to the Kerio Connect server
Instant Messaging or Chat feature is using IM and XMPP services to deliver instant communication for domain users. Fulltext search is providing immediate output for all emails matching the necessary search pattern.
Both services are written in Java language and can be modified using configuration file called mailserver.cfg. The default limits are set to 256 MB.
- Stop the Kerio Connect service.
- Edit the mailserver.cfg by modifying the following variables:
MaxMemorySize in tables InstantMessaging and WebIM. Set it to 512 or bigger value.
JvmOptions in FullTextSearch table. Specify the -Xmx512m parameter to set the Java process limit to 512 MB.
- MaxMemorySize in tables InstantMessaging and WebIM. Set it to 512 or bigger value.
- Save the changes and start the Kerio Connect service.
The new Java memory allocation limit is set to the necessary value.