[erlang-patches] Added ERL_ATOM_TABLE_SIZE environment variable

Björn Gustavsson <>
Tue Dec 22 13:15:12 CET 2009

On Tue, Dec 22, 2009 at 12:17 PM, Julien Barbot <> wrote:
> I know that increasing this value should be the last resort when faced
> with an atom number limitation. A better way of solving this kind of
> problem is of course to correct the design of the faulty application.
> The simple patch is available at:
> git fetch git://github.com/klyr/otp.git atom_table_size_env

Thanks! Included in 'pu'.

I cannot promise that we will accept this patch; we'll decide in a
OTP technical board meeting next year.

That aside, the following must be fixed should we decide to
include it:

- There should be an upper limit of the size of the atom table,
MAX_ATOM_INDEX+1 at the very largest.

- The environment variable should also be documented in the
man page for "erl".

Björn Gustavsson, Erlang/OTP, Ericsson AB

More information about the erlang-patches mailing list