Memory management - is there a general rule?

Only for public functions, as module.function() is remote call (with all pros and cons of that).

You’re absolutely correct, I mixed the two practices. Of course, it’s a good practice to put :ets tables under supervision. Serializing access to :ets tables should be an informed decision as it sometimes can be beneficial.

1 Like