[erlang-questions] Creating a diagnostic memory dump of live erlang VM
Thu Feb 20 22:21:18 CET 2014
I would love it if erl_crash.dump was written in the external term format. We started working on an erlang parser library for the existing text format at Heroku, but it's annoying work and I'm lazy.
I would offer someone a holiday-card-of-their-choice to do it, but I'm behind on sending Fred and Steve theirs for last year. :)
On 2014-02-20, at 01:30 , Vlad Dumitrescu <> wrote:
> On Thu, Feb 20, 2014 at 9:26 AM, Anton Lebedevich <> wrote:
> Another thing which I missed a lot after converting from java to erlang
> is a thread dump. It turned out that it's possible to get all
> stacktraces for all processes (even with function arguments) via
> It returns them as text so it's better to dump it to file immediately:
> Format of these traces is quite interesting (undocumented) the best
> description I found is in the mailing list
> I might just as well ask the obvious question: why is not this information available even as normal Erlang terms, so that one doesn't need to parse it? When writing a crash dump, it doesn't matter, but if it should be used at runtime it's a pain to parse it... This applies to the other results from system_info/1 that are dumped as text.
More information about the erlang-questions