Is uncapped, dynamic creation of ES6 Symbols something that can result in irrecoverable memory usage?
In Erlang (and also previously, Ruby), creation of atoms/symbols are not garbage collected.
It seems like Symbols created in the global symbol registry (Symbol.for('string')
) could not be garbage collected and remain globally unique but I might be missing something. This did not seem to me to be dictated by the ES6 spec.