[erlang-questions] Internal compiler atoms

Dominic Morneau dmorneau@REDACTED
Fri Jul 28 16:54:15 CEST 2017


Since you have a crash dump, you could check:

   sed -ne '/=atoms/,$p' < erl_crash.dump | head -n 100

That would show the last 100 atoms created before the crash, which might
help figure out what's up.

Dominic

2017年7月27日(木) 23:19 Håkan Mattsson <hawk.mattsson@REDACTED>:

>
> I am trying to compile a
> ​(​
> big
> ​)​
> module from a list of forms
> ​​
> , but it seems
> ​ like the compiler internally generates lots of new atoms:​
>
>
> no more index entries in atom_tab (max=1048576)
>
> Crash dump is being written to: erl_crash.dump...
>
> ​In this case the compiler itself generated ​more than 300K atoms while
> compiling my forms.
>> ​Why is the atoms generated?​
>
> ​Is this anything that can be disabled?​
>
> /Håkan
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170728/64e604de/attachment.htm>


More information about the erlang-questions mailing list