Additional parameters that can be sent to the Java Virtual Machine. Here you can set the amount memory that the Magic xpi server uses when it loads. This flag contains arguments that are passed to the Java Virtual Machine (JVM).
The -Xms argument sets the initial memory size for the JVM. This means that when you start the Magic xpi server, the JVM will allocate this amount of memory instantly. This is useful if your program will consume a large amount of heap memory right from the start.
The -Xmx argument defines the maximum memory size that the JVM can allocate. A low value can cause poor performance and even lead to an out-of-memory error.
The Magic xpi server installation procedure sets these arguments as:
If you have two instances of the Magic xpi server, each instance will grab 256MB of memory, meaning 512MB. In most cases, the Magic xpi default is sufficient.