r/javascript • • Oct 11 '17

JavaScript's Promise is Memory Unsafe

https://alexn.org/blog/2017/10/11/javascript-promise-memory-unsafe.html
70 Upvotes

77 comments sorted by

View all comments

16

u/Ginden Oct 11 '17

Author found a tricky part in Promise/A+ spec, that's known for at least two years (Node issue related).

Bluebird doesn't exhibit this behaviour (test code) and keeps steady 58MB memory usage on my laptop.

5

u/alexelcu Oct 11 '17

Thanks, the links are helpful. And the Bluebird mention.