Increase the JVM heap and synchronization server cache size.
-
Set the JVM heap size in the sup.properties file, using these properties:
- sup.jvm.minheap = 2048m
- sup.jvm.maxheap = 2048m
Note: These values can be adjusted higher or lower according to the available physical memory on the machine. Sybase Unwired Platform 1.2.4 requires a minimum 2G of available physical memory.
-
Set the Unwired Server cache size:
-
With a text editor, open the configure-sup.xml file.
-
locate the line: -w ${ml.threadcount}, and add a line below that in the form of -cm size[k|m|g], for example, -cm 2048m.
-
Save the file.
Typically, you should set the Unwired Server cache size to a multiple of the number of devices that are expected to synchronize concurrently, and the size of the data they would be synchronizing.
-
(Optional) If Sybase Unwired Platform is running as a service, you must re-create the services for the changes to take effect. To re-create the services:
-
Stop the running Unwired Platform services.
-
Open a command prompt window, and run mlservice.bat remove.
-
Run mlservice.bat install.
-
Restart the Unwired Platform services.