MemLab: An open source framework for finding JavaScript memory leaks
engineering.fb.com
MemLab: An open source framework for finding JavaScript memory leaks
1–10 of 15 posts
Re: MemLab: An open source framework for finding JavaScript memory leaks
#2https://news.ycombinator.com/item?id=29595441
Glad to see it finally open sourced!
Re: MemLab: An open source framework for finding JavaScript memory leaks
#3Ah I think this was mentioned in a comment on a previous thread: https://news.ycombinator.com/item?id=29595441 Glad to see it finally open sourced!
Re: MemLab: An open source framework for finding JavaScript memory leaks
#4Re: MemLab: An open source framework for finding JavaScript memory leaks
#5If there is any memory leaks in a garbage-collected language, isn't it a bug of V8 instead?
With some systems you can pin it and forget to unpin it.
Re: MemLab: An open source framework for finding JavaScript memory leaks
#6Re: MemLab: An open source framework for finding JavaScript memory leaks
#7Re: MemLab: An open source framework for finding JavaScript memory leaks
#8Memory leak because of console.log? Wow, news to me. Not that I really ever use it for much since I believe in writing unit tests over outputting logs to the console. But I can see how others might get bitten by this for sure.
Re: MemLab: An open source framework for finding JavaScript memory leaks
#9its incredibly difficult to debug memory leak even with dev tools, I will look into this and hope it helps
It basically automates the process of diff'ing heap snapshots.