Back around 2009 I had a service crash because Erlang at the time (and still currently?) had a maximum of 65535 distinct atoms in a given BEAM.
That was fun. The error messages were a more formal version of “yeah you really shouldn’t do this.”
It still has a limit, but that limit is 2**20 aka 1M now. “Don’t create atoms based on user input” is still a best practice :)
[Comment removed by author]
Back around 2009 I had a service crash because Erlang at the time (and still currently?) had a maximum of 65535 distinct atoms in a given BEAM.
That was fun. The error messages were a more formal version of “yeah you really shouldn’t do this.”
It still has a limit, but that limit is 2**20 aka 1M now. “Don’t create atoms based on user input” is still a best practice :)
[Comment removed by author]
[Comment removed by author]