Current number of atoms in the atoms table
In Elixir and Erlang there is a hard limit on the number of atoms you can create. Atoms are not garbage collected so its important to ensure you don't exceed the limit. You can check what the limit is with:
> :erlang.system_info(:atom_limit)
1048576
Likewise, you can check the current number of atoms in the atoms table with:
> :erlang.system_info(:atom_count)
9654
On my system using Elixir 1.5.1 I use 9654 atoms just to start iex.
Tweet