Troubleshooting a memory issue on or Wowza server that eventually causes the server to run out of memory. Streams suffer as a result.
Occurrences are mostly inconsistent. Sometimes the server will run for days/weeks without issue, however, last week there were two occurrences within a 24 hour period.
RAM utilization is consistently above 60% with 1 inbound RTMP and 5-6 outbound RTMP streams. No transcoding, packetizers not in use are disabled. Only HLS, RTMP and RTSP are enabled.
Server has 16GB RAM. Activity Monitor shows Java process consistently consuming between 9 and 13GB.
Performance Tuning>Java Settings
Custom Level Heap: 8000MB
Java Garbage Collection Settings: G1 (Garbage First) Collector