Wowza Community

Out of Memory - Heap

Hello ,

I have some questions using Wowza Streaming Engine and I would like to request for advice.

Java Heap Space set up : Product Edition 20GB

About the Server Monitoring, when the partial monitoring, Heap area was maintaining between 1GB and 3GB usually,

It was getting increased since 12pm in Apr.5, and then 20GB which was set up Limited had used at around 12am in Apr.5, finally OOM[Out Of Memory] was caused.

When OOM in Tune.xml option, I set up the Heap Dump, but Dump has not been caused. [When finish the process, kill command was used without systemctl using when finish the process.]

-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="${com.wowza.wms.AppHome}/logs"

Unsual point is that although I set up a recording file in Streaming file creats at intervals of 10 minutes when increasing the Heap Memory area, the files in 200kb~300kb was occured and only played 0~1second even the average of MP4 file capacity is 100~200MB.

Also, below error happened consistently in WowzaStreamingEngine_error.log.

(1) QTWriterUtils.writeMOOVAtom[/storage/DVC0001H/DVC0001.stream_2022-04-05-]: File duration requires 64-bit atom structures. File may not play properly in QuickTime for Windows.

(2) RtcpCompoundPacket.deserialize : java.lang.ArrayIndexOutOfBoundException

(3) RTPDePacketizerBase.handleRTPPacket[RTP:streamid=0:DVC00002.streamGot and exception in handleRTPPacket : RTP sequence jump outside expected bounds. Expected : [-1494,3006] Got:63892

This was solved after re-start the service.

Later, if there is OOM caused again, I will check Dump is occured by Rest API calling before WowzaStreamingEngine Kill command is run.

curl -X PUT --header ‘Accept:application/json; charset=utf-8’ --header ‘Content-type:application/json; charset=utf-8’{serverName}/actions/heapDump

Hope you understand what I wrote above, if you have any questions, let me know. I will wait for your advice. Thank you.

Best regards,

Thank you for the information you shared, but technical support does not scan the forums and can only debug you Heap dump issue through a support ticket.