Closed johanrd closed 5 months ago
there has been a memory leak in glimmer-vm around locally defined helpers and modifiers prior to ember-source 5.6 -- I believe if the docs app upgrades to ember-source 5.6+ the memory leak would be resolved
More info here:
@NullVoxPopuli Thanks!
I can verify that this is not reproducible if I run the docs-app with ember-source@5.8.0😌
Table
class is retained in Heap memory. This is expected.Table
class retained in memory twice.https://github.com/CrowdStrike/ember-headless-table/assets/4601554/40983c64-d87a-4bd3-944c-ef21054057e4
This is also reproducible in my own webapp whenever I use a table or column modifier, or use the column.getValueForRow helper.
Removing all the modifiers and
{{column.getValueForRow row}}
from demo-a.md resolves the issue, so this is most likely caused by columns not being teared down correctly.