Hi,
I sometimes got ‘Zero sized function’ error.
What does the error mean? and how to fix it?
Is it GC problem?
Our service has very few streams. Wowza receives RTMP from iPhone and create HLS files.
We use WowzaStreamingEngine 4.2.0.01, on Amazon EC2 instance which is from pre-build wowza official AMI. The instance type is C4.2xlarge, which has 16GB Ram.
I read an article about performance tuning(https://www.wowza.com/docs/general-tuning), and see conf/Tune.xml.
The article says ’ If you have at least 16 GB of RAM, set your heap size to 8000 MB’ and conf/Tune.xml says ‘${com.wowza.wms.TuningGarbageCollectorConcurrentDefault} - Concurrent Collector’ is recommended.
But the AMI default setting of HeapSize and GC on conf/Tune.xml is ‘${com.wowza.wms.TuningHeapSizeProduction}’ and ‘{com.wowza.wms.TuningGarbageCollectorG1Default}’.
Wowza log shows current max heap size set to 10GB, and GC is G1Default.
Why the AMI default config uses these parameters, not recommended heap size and GC?
Regards.