[erlang-questions] How to view the content of memory using gdb

Monk Boy boyofmonk@REDACTED
Tue May 21 10:02:48 CEST 2019


Thanks for the tip! I will do it now.

Lukas Larsson <lukas@REDACTED> 于2019年5月21日周二 下午3:33写道:

> Hello,
>
> If you upgrade to Erlang/OTP vsn 20.3 or later this information is part of
> the crash dump so that you can use tools such as crash dump viewer to get
> this information.
>
> If you want etp to not cut data you need to do:
>
>   set $etp_max_depth = 20000
>   set $etp_max_string_length = 10000
>
> before you call any term printing function. You can also print the entire
> heap of the process using:
>
>    etp-heapdump p
>
> This will dump a lot of data that will need to dig through to try to find
> what is taking all of the memory.
>
> Lukas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20190521/85832f48/attachment.htm>


More information about the erlang-questions mailing list