Added ERL_ATOM_TABLE_SIZE environment variable

Julien Barbot <>
Tue Dec 22 12:17:54 CET 2009


Hello,

Actually atom table size is an hard-coded value of 1048576 (1024*1024).

I thought it would be a good idea to make this limitation more dynamic
by adding an environment variable to increase this limit.
It is quite the same behavior as the ERL_MAX_ETS_TABLES env variable.

The new variable is called ERL_ATOM_TABLE_SIZE.

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

Regards,

--
Julien Barbot


More information about the erlang-patches mailing list