sometimes we experience a Java.OutOfMemoryException in our wowza server and we don’t understand how could this happen. A short summary:
developer license ( no more than 10 connections ), most of the time < 5 concurrent connections
tuning already done following linux instructions
1200M heap size
Analyzing a memory dump obtained with -XX:+HeapDumpOnOutOfMemoryError we see this strange object histogram.
43996 instances of class org.apache.mina.common.SimpleByteBufferAllocator$SimpleByteBuffer 43995 instances of class com.wowza.wms.server.RtmpRequestMessage 43993 instances of class com.wowza.wms.server.ServerHandlerEvent
every “SimpleByteBuffer” contains a byte with a size of 24000 (exactly the same size of the receiver buffer configured in VHost.xml).
every “RtmpRequestMessage” contains a “RtmpSessionInfo” object that refer to the same clientId.
Any hints? Charlie?