Some users say that erlyvideo is leaking memory under some suspicious
circumstances and crashes with OOM.
I want to add alarm_handler that catches
{set_alarm,{process_memory_high_watermark,<0.1837.0>}}
dumps full information about system state and kills this process.
Is it a right way to go?