<div dir="ltr">Thanks for the tip!
<span class="gmail-tlid-translation gmail-translation" lang="en"><span title="" class="gmail-">I will do it now.</span></span>
</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Lukas Larsson <<a href="mailto:lukas@erlang.org">lukas@erlang.org</a>> 于2019年5月21日周二 下午3:33写道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>Hello,</div><div><br></div><div>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.</div><div><br></div><div>If you want etp to not cut data you need to do:</div><div><br></div><div><font face="courier new, monospace"> set $etp_max_depth = 20000</font></div><div><font face="courier new, monospace"> set $etp_max_string_length = 10000</font></div><div><br></div><div>before you call any term printing function. You can also print the entire heap of the process using:</div><div><br></div><div> <font face="courier new, monospace">etp-heapdump p</font></div><div><br></div><div>This will dump a lot of data that will need to dig through to try to find what is taking all of the memory.</div><div><br></div><div>Lukas</div></div></div>
</blockquote></div>