[erlang-questions] How to introspect atom table?

Max Lapshin max.lapshin@REDACTED
Tue Nov 20 13:30:03 CET 2012


I've written, that problem wasn't in converting string to atoms, it was in
external PHP code that created unique node names on each request.


On Tue, Nov 20, 2012 at 4:22 PM, Zabrane Mickael <zabrane3@REDACTED> wrote:

>
> On Nov 20, 2012, at 1:11 PM, Max Lapshin wrote:
>
> > It is a bad idea to increase atom limit, because it will just prolong
> the suffering.
>
> So fix the code and try to use list_to_existing_atom/1instead of
> list_to_atom/1 (see http://erlang.org/doc/man/erlang.html).
> Better, redesign the code.
>
> > 1 million of atoms is enough for a simple program.
>
> In our case it wasn't sufficient.
>
> Regards,
> Zabrane
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20121120/713fc662/attachment.htm>


More information about the erlang-questions mailing list