Skip to main content

Java

Memory allocation

By default, the application uses the following Java heap size settings:

  • Minimum heap size: 128MB
  • Maximum heap size: 1024MB

If your environment requires different values, you can override them by editing /opt/msh-pm/etc/config.cf and adding:

JAVA_XMS=128M
JAVA_XMX=1024M

Where JAVA_XMS sets the minimum heap size and JAVA_XMX sets the maximum. Adjust the values as needed.

After making changes, restart the services to apply them:

sudo systemctl restart msh-pm-settings
sudo systemctl restart msh-pm-milter