[erlang-questions] Dynamic Code and Atoms

Anthony Ramine <>
Thu Jan 23 16:34:56 CET 2014


Sorry I didn’t reply to all the first time, putting the list back in the loop.

Probably this problem was never encountered before. Do you really need to do whatever you are doing like this?

-- 
Anthony Ramine

Le 23 janv. 2014 à 16:29, Vance Shipley <> a écrit :

> I'm well aware of the limits on the atom table, how to change it and that it's not garbage collected.
> 
> I'm not creating these atoms in my abstract forms. It appears to be core Erlang (cerl) which is creating atoms. 
> On Jan 23, 2014 8:50 PM, "Anthony Ramine" <> wrote:
> Yes and no, the atom table being limited in size is by design (cf. EEP20).
> 
> What are you compiling, though, to reach such a limit? That sounds completely insane to me.
> 
> --
> Anthony Ramine
> 
> Le 23 janv. 2014 à 15:54, Vance Shipley <> a écrit :
> 
> > I am finding that when I dynamically build a function with
> > a very large number of clauses the emulator crashes while
> > compilig (cmpile:forms/2) after hitting the atom table limit.
> > Looking at a erl_crash_.dump I can see that it was filling up
> > the atom table with 'corN' where N is an ever increasing number.
> >
> > Is this a design limitation?
> >
> > --
> >       -Vance
> > _______________________________________________
> > erlang-questions mailing list
> > 
> > http://erlang.org/mailman/listinfo/erlang-questions
> 




More information about the erlang-questions mailing list