Child pages
  • Tuning the Server

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Whether or not a Java Virtual Machine supports client and/or server mode depends on the hardware, see [http://download.oracle.com/javase/6/docs/technotes/guides/vm/server-class.html|see http://download.oracle.com/javase/6/docs/technotes/guides/vm/server-class.html].

If the JVM supports servermode, it will automatically detect if the machine it is running on is a "capable" machine and automatically run in server or client mode depending. The definition of "capable" may differ from Java version to Java version. For Java 6 this means a 2CPU, 2Gb memory machine.

Checking whether or not a Servoy Application Server runs in client or server mode can be seen on the Servoy Admin page, under "Servoy Server Home" > "Servoy Server Status" > "JDK Information":
* Server mode: java.vm.name=Java HotSpot(TM) 64-Bit Server VM
* Client mode: java.vm.name=Java HotSpot(TM) Client VM

It is possible to enforce the Servoy Application Server to run in server mode (assuming the JVM is capable to operate in server mode), an extra startup argument can be added to the startup of the Servoy Application Server.

...

When using the Service wrapper:

Note
JVM servermode on windows 32-bit
JVM servermode on windows 32-bit

On Windows 32 bit environments , the Java Runtime Environment does not include support for server mode. In order to take advantage of server mode optimizations on 32 bit windows systems, it is required to install Java Development Kit (JDK)

Memory

Processes in Java, like the Servoy Application Server, need to be told explicitly the maximum of memory they are allowed to use. This setting, the maximum heap size, is important to adjust to the load the Servoy Application Server is to handle.

...