Linux and OSX tuning, running the "server" Java VM (tuning)
Depending on your platform, the installed version of the Java VM and Wowza Pro configuration, you may be running the
client version of the Java VM. The Wowza Pro server will function better when using the
server version of the Java runtime environment that ships with the Java JDK. Below are the instructions to switch to the server version of the Java VM.
Note: For Windows the solution is a little more involved. See the following forum post for the complete instructions:
First, open a command prompt and enter the command:
java -server -version
It should return something similar to this:
java version "1.6.0_04"
Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
Java HotSpot(TM) Server VM (build 10.0-b19, mixed mode)
Note: The key part being the Server VM part of the last line.
If it returns an error message then the
server version is not available under your current Java VM installation. The solution is to install the most recent Java JDK from the Sun web site
http://java.sun.com. Once you have installed the most recent VM, execute the
java -server -version and it should return the correct VM information.
With this in place you can now edit the setenv.sh startup file to switch to the
set JAVA_OPTS="-server -Xmx768M"