author avatar

akshay

Mon Jun 25 2018

Elixir and Erlang has a limit on the number of atoms that can be created. We can view the atom limit using :erlang.system_info(:atom_limit). Atom's text value is stored in the atom table and this is not garbage collected. This explains why user inputs to phoenix routes are to be matched with strings rather than atoms.