# "JVM exited unexpectedly" problem

**URL:** <https://community.wowza.com/t/jvm-exited-unexpectedly-problem/33926>\
**Category:** Wowza Streaming Engine\
**Created:** [November 6, 2009, 12:58pm UTC](https://community.wowza.com/t/jvm-exited-unexpectedly-problem/33926 "2009-11-06T12:58:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Inigo\_Mena](https://avatars.discourse-cdn.com/v4/letter/i/e5b9ba/32.png) [@Inigo\_Mena](https://community.wowza.com/u/Inigo_Mena)\
**Post date:** [November 6, 2009, 12:58pm UTC](https://community.wowza.com/t/jvm-exited-unexpectedly-problem/33926/1 "2009-11-06T12:58:04Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [November 6, 2009, 1:07pm UTC](https://community.wowza.com/t/jvm-exited-unexpectedly-problem/33926/2 "2009-11-06T13:07:21Z")

</div>

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](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](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

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [November 6, 2009, 1:21pm UTC](https://community.wowza.com/t/jvm-exited-unexpectedly-problem/33926/3 "2009-11-06T13:21:40Z")

</div>

768mb of RAM is enough to run Wowza, modestly. But I suspect your VPS is not providing that amount reliably.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [November 6, 2009, 1:30pm UTC](https://community.wowza.com/t/jvm-exited-unexpectedly-problem/33926/4 "2009-11-06T13:30:25Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Inigo\_Mena](https://avatars.discourse-cdn.com/v4/letter/i/e5b9ba/32.png) [@Inigo\_Mena](https://community.wowza.com/u/Inigo_Mena)\
**Post date:** [November 6, 2009, 1:15pm UTC](https://community.wowza.com/t/jvm-exited-unexpectedly-problem/33926/5 "2009-11-06T13:15:23Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Inigo\_Mena](https://avatars.discourse-cdn.com/v4/letter/i/e5b9ba/32.png) [@Inigo\_Mena](https://community.wowza.com/u/Inigo_Mena)\
**Post date:** [November 6, 2009, 1:23pm UTC](https://community.wowza.com/t/jvm-exited-unexpectedly-problem/33926/6 "2009-11-06T13:23:22Z")

</div>

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?
