Hi,
If you’re publishing many live streams and packetizing for HTTP clients, Wowza holds the latest chunks in memory.
By default Wowza will hold 10 chunks (for each HTTP client type) and the duration of each chunk is 10 seconds (100 seconds of stream).
To reduce this memory consumption, you can edit the packetization for each HTTP client type (per application) using the articles below.
How to configure Adobe HTTP Dynamic Streaming packetization (sanjosestreaming)
How to configure Apple HTTP Live Streaming packetization (cupertinostreaming)
How to configure Microsoft Smooth Streaming packetization (smoothstreaming)
How to configure MPEG-DASH packetization (mpegdashstreaming)
By changing the duration of the chunk to be 2 seconds and the number of chunks held in memory to be 5 this would reduce the duration of stream in memory from 100 seconds to 10 seconds.
You may also want to try other tuning adjustments such as the garbage collection, you may be better using the G1 (Garbage First) Collector.
Perhaps you should try this too if the packetization adjustments does not lower the memory usage enough. Please see the tuning guide below for details.
How to do performance tuning
Regards,
Jason