The xms-wrapper.conf file is a native wrapper for invoking the Java Virtual Machine of which XMS is to run in. You can configure what JVM XMS uses, and also the jvm settings.
You can set the intial size of the JVM heap with the line:
wrapper.java.initmemory=16
The above line allocates 16MB of RAM to XMS Server on startup. The Java JVM heap (its memory allocation) will grow when it needs more memory, up to a specified limit. This limit is set with the following line in you xms-wrapper.conf file:
wrapper.java.maxmemory=1024
That line sets the maximum amount of memory the JVM can allocate to 1024MB or 1GB. It is important that you don't set this value to be larger than the amount of physical memory on your machine. It is also important to set this value such that XMS will be able to use as much memory as your server can allow. It is recommended that you set this value to 75% of the servers free physical memory.
You should ensure that the wrapper.java.initmemory value is not larger than the wrapper.java.maxmemory value. These values may however be equal - this practice eliminates the overhead associated with growing the heap.
You can choose which JVM XMS uses with the wrapper.java.command property. Note that the XMS Server requires a Java 1.5 or greater JVM. If you want to setup XMS to use the default JVM on your machine use the line:
wrapper.java.command=java
Comments in the xms-wrapper.conf file are lines that begin with a # sign.