Hi, I have just set up Wowza Media Server Pro10 in my server (Windows 2003 X64, with JRE 5). I’m testing it with a large mp3 file (150 MB) and after some minutes playing it stops. In the wowzamediaserverpro_service.log I see the message “JVM exited unexpectedly”.
I’m guessing it is due to a lack of memory, what do you think?
How much memory is on that computer?
Be sure to follow the General Tuning Guide:
https://www.wowza.com/docs/how-to-do-performance-tuning
If the OS is 64bit use 64 bit version of Java. It’s a good idea to have the latest JDK from Sun (currently JDK 6 Update 17):
http://java.sun.com/javase/downloads/index.jsp
Note that file size is not usually relevant to streaming, it’s bit rate, which you can calculate like this:
(file size in KiloBytes * 8) / duration in second = kilobits per second (kb/s)
Richard
768mb of RAM is enough to run Wowza, modestly. But I suspect your VPS is not providing that amount reliably.
Richard
You will have to experiment, but the default settings are too high for you. In fact the default Java Heap size is 768 which is all you have, so you have to lower that.
Take a look at that General Tuning Guide, you will be decreasing the Java Heap size. It can be set quite low and Wowza will still function.
Richard
Hi Richad, thanks for your answer.
I have 768MB RAM, it is a VPS… I’ve been checking the recommended memory and I see it might be too small…
Anyway, I will only stream mp3 (128kbps), and from a file, not live.
Sorry, I forgot to say, I also have IIS ans SQL taking part of the memory… how much free memory should I reserve for Wowza?