Wowza server hanged "java.lang.OutOfMemoryError: Java heap space "
We have setup wowza in origin-edge configuration. Earlier it was streaming 3 channels from origin and it was operating fine. Then we installed NVIDIA K4000 Card and we setup 8 channels at the origin. Everything was going fine as expected. But suddenly, yesterday, the origin wowza server just got hanged. By hanged, I mean the service was running, but it was not processing the stream.
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
On a Linux Debian Wheezy server, Intel 1270 CPU , 16 Gb of memory.
Wowza has 8 Gb (XmX) allocated. Very low load (about 2%). The server has a server-sided playlist , running an 700 Mb , 12 minute, +/- 5 Mbit MP4 file for 24/7
An external process (ffmpeg) reads that (RTMP) stream and feeds it back into Wowza (after transcoding).
At startup the Wowza process uses around 630 Mb (RES). At this moment, about 6 hours after starting, the process is using 702 Mb (RES). This is normal and not causing the final OOM ; if Wowza would "leak" 10 Mb per hour then even after 48 hours the total leakage would not be more than 500 Mb (which is very acceptable to us).
However at some point, in 1 or 2 days suddenly memory usage will go up a lot ( to 8000 Mb ) and there will be OOM errors in the log.
This origin also feeds 2 edges, but the load is low (about 2-5 concurrent viewers maximum).
This is a test-environment but we can't get it stable. The Edges are stable. The edges are located at about 40ms and 190ms distance.
I've prepared the options to dump the heap, when that has happened we'll send it to Wowza if they want to have a look.