erlang/otp — pull request #328 by id (2014-04-11 13:19:13+00:00)
Title: Limit max message queue length in crash report

If a process having huge message queue crashes, proc_lib:format_report
might bring the whole system down while trying to format crash report
content. Here I limit max number of messages in crash report with a
fairly choosen round number.