porsager/bss

Memory usage

porsager opened this issue · 2 comments

It appears bss in cases foxdonut/meiosis-examples#9 (comment) might use excessive memory.

Something to look into....

Hi @foxdonut ... Thanks a lot for bringing this to my attention.

This is now fixed in the latest bss release (1.3.0)

It was quite the edge case in having each bss instance share an object with the previous instance which resulted in this leak if an instance was reused (which should be perfectly valid), and changing the same property in more than 1 place...

In your example that happened with the util/ui.js > exports.button

recursion

Great news, thank you @porsager !