Defining a heap size for the Email Engine


The information in this topic is applicable only for on-premises deployments.

The initial minimum (-Xms256m ) and maximum (-Xmx1024m ) Java heap sizes are set at the time of installation as Java Virtual Machine (JVM) options. You can increase these values by updating them in the emaild.sh file.

If you run out of memory, you should adjust your heap size according to your memory needs.

Important

We cannot recommend the exact heap sizes to suit your environment; try to modify the minimum and maximum settings, and then stop and restart the Email Engine. You might see considerable improvements in performance.

To change the heap size

To change the minimum and maximum Java heap size values, edit the emaild.sh file to include the options:

  • -XmsSize to specify the minimum heap size
  • -XmxSize to specify the maximum heap size

For example, the entry for this setting might look like:

java -Xms256m -Xmx1024m com.bmc.arsys.emaildaemon.EmailDaemon

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*