<div dir="ltr"><div dir="auto">Since you have a crash dump, you could check:<br></div><div dir="auto"><br></div><div dir="auto">   sed -ne '/=atoms/,$p' < erl_crash.dump | head -n 100<br></div><div dir="auto"><br></div><div dir="auto">That would show the last 100 atoms created before the crash, which might help figure out what's up.</div><div dir="auto"><br></div><div dir="auto">Dominic</div><br><div class="gmail_quote"><div>2017年7月27日(木) 23:19 Håkan Mattsson <<a href="mailto:hawk.mattsson@gmail.com" target="_blank">hawk.mattsson@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div><br>I am trying to compile a <div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default">​(​</div>big<div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default">​)​</div> module from a list of forms<div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default">​​</div>, but it seems<div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default">​ like the compiler internally generates lots of new atoms:​</div><br><br><div style="margin-left:40px">no more index entries in atom_tab (max=1048576)<br><br>Crash dump is being written to: erl_crash.dump...<br></div><br><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">​In this case the compiler itself generated ​more than 300K atoms while compiling my forms.<br></div>​<br><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">​Why is the atoms generated?​</div><br><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">​Is this anything that can be disabled?​</div><br>/Håkan<br><br></div>
______________________________<wbr>_________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/<wbr>listinfo/erlang-questions</a><br>
</blockquote></div></div>