I push 20 rtmp streams to wowza,in 12hours wowza must be out of memory。
set heap size 10000MB,and GarbageCollector set -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:NewSize=512m ,GarbageCollector set to G1 also have this case。
Hardware:CPU:96core Mem:256GB。
Exception in thread “ServerHandler.489” java.lang.OutOfMemoryError: Java heap space Exception in thread “ServerHandler.506” java.lang.OutOfMemoryError: Java heap space Exception in thread “ServerHandler.275” java.lang.OutOfMemoryError: Java heap space Exception in thread “ServerHandler.130” Exception in thread “IdleWorkerUtil-21” java.lang.OutOfMemoryError: Java heap space Exception in thread “RMI RenewClean-[10.79.3.156:8084]” Exception in thread “ServerHandler.139” java.lang.OutOfMemoryError: Java heap space Exception in thread “ServerHandler.426” Exception in thread “ServerHandler.22” Exception in thread “ServerHandler.39” Exception in thread “IdleWorkerUtil-20” java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space Exception in thread “ServerHandler.91” Exception in thread “ServerHandler.82” java.lang.OutOfMemoryError: Java heap space Exception in thread “ServerHandler.334” Exception in thread “ServerHandler.434” java.lang.OutOfMemoryError: Java heap space Exception in thread “ServerHandler.86” Exception in thread “ServerHandler.325” java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space Exception in thread “ServerHandler.536” java.lang.OutOfMemoryError: Java heap space at com.wowza.wms.amf.AMFPacket.(AMFPacket.java:50) at com.wowza.wms.stream.live.LiveReceiver.b(LiveReceiver.java:1087) at com.wowza.wms.stream.live.LiveReceiver.addVideoData(LiveReceiver.java:1179) at com.wowza.wms.stream.live.MediaStreamLive.addVideoData(MediaStreamLive.java:80) at com.wowza.wms.request.RequestProcessData.processNextRequest(RequestProcessData.java:725) at com.wowza.wms.client.ClientWorker.processNextReq(ClientWorker.java:83) at com.wowza.wms.request.RTMPRequestAdapter.service(RTMPRequestAdapter.java:596) at com.wowza.wms.server.ServerHandler.a(ServerHandler.java:709) at com.wowza.wms.server.ServerHandler.a(ServerHandler.java:407) at com.wowza.wms.server.ServerHandler.messageReceived(ServerHandler.java:536) at com.wowza.wms.server.ServerHandlerThreadedSession.run(ServerHandlerThreadedSession.java:109) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source) java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space Exception in thread “ServerHandler.121” java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space Exception in thread “ServerHandler.54” Exception in thread “ServerHandler.268” java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space Exception in thread “ServerHandler.344” java.lang.OutOfMemoryError: Java heap space Exception in thread “ServerHandler.92” Exception in thread “ServerHandler.302” java.lang.OutOfMemoryError: Java heap space Exception in thread “ServerHandler.429” Exception in thread “ServerHandler.532” Exception in thread “ServerHandler.586” java.lang.OutOfMemoryError: Java heap space Exception in thread “ActionDistributor: Thread-3” Exception in thread “ServerHandler.367” Exception in thread “ActionDistributor: Thread-2” java.lang.OutOfMemoryError: Java heap space Exception in thread “ServerHandler.349” Exception in thread “serverWatchdog” java.lang.OutOfMemoryError: Java heap space Exception in thread “ServerHandler.613” Exception in thread “ServerHandler.597” java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space Exception in thread “vhostWatchdog” Exception in thread “ServerHandler.537” Exception in thread “ServerHandler.587” java.lang.OutOfMemoryError: Java heap space Exception in thread “ServerHandler.478” java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space