Java Memory Properties

You can control the amount of memory allocated to SAP Mobile Platform by specifying the heap size for the Java command line process. The heap size represents only part of the memory used by Java.

You can make efficiency gains by setting the minimum amount allocated to the same value as the maximum value allocated. SAP strongly recommends that you do not exceed this value, regardless of the number of available CPU cores.

Java memory properties are set in SMP_HOME\Server\props.ini. Create a backup copy of this file before making any changes.

Setting Name Default Value Modified Value
-Xms 1024M 512M * CPU cores
-Xmx 2048M 512M * CPU cores
-XX:PermSize 256M 256M
-XX:MaxPermSize 512M N/A (default is recommended)
Note: Reconfigure the SAP Mobile Platform Server Windows service for the changes to take effect.
Related tasks
Reconfiguring the Windows Service After Server Configuration Changes