@@ -58,16 +58,15 @@ are proportional to the logarithm of the number of objects in the table.
5858
5959> #### Note {: .info }
6060>
61- > The number of tables stored at one Erlang node _ used_ to be limited. This is
62- > no longer the case (except by memory usage). The previous default limit was
63- > about 1400 tables and could be increased by setting the environment variable
64- > ` ERL_MAX_ETS_TABLES ` or the command line option
65- > [ ` +e ` ] ( `e:erts:erl_cmd.md#%2Be` ) before starting the Erlang runtime system.
66- > This hard limit has been removed, but it is currently useful to set the
67- > ` ERL_MAX_ETS_TABLES ` anyway. It should be set to an approximate of the maximum
68- > amount of tables used since an internal table for named tables is sized using
69- > this value. If large amounts of named tables are used and ` ERL_MAX_ETS_TABLES `
70- > hasn't been increased, the performance of named table lookup will degrade.
61+ > The number of ETS tables at one Erlang node is limited only by available
62+ > memory. The environment variable ` ERL_MAX_ETS_TABLES ` and the command line
63+ > option [ ` +e ` ] ( `e:erts:erl_cmd.md#%2Be` ) do not limit this number. They set a
64+ > sizing hint for an internal index used to look up named ETS tables.
65+ >
66+ > Workloads that keep a large number of named tables concurrently can set the
67+ > hint to approximately the expected peak number of named tables. A value that
68+ > is too small can increase hash collisions and degrade named table lookup
69+ > performance, while an unnecessarily large value increases memory usage.
7170
7271Notice that there is no automatic garbage collection for tables. Even if there
7372are no references to a table from any process, it is not automatically destroyed
0 commit comments