Memory leaks, the silent app killer gradually slowing down performance until your application crashes unexpectedly. This video explores an awesome blog post from the founder of Bun, who shares debugging tips that addressed memory leaks. Notably, the use of the writeheapsnapshot and the heap statistics from Bun’s JavaScriptCore implementation.
🔗 Relevant Links
Better Stack: https://betterstack.com/
Bun Tweet: https://x.com/jarredsumner/status/187...
Memory Leak Debugging Blog: https://bun.sh/blog/debugging-memory-...
Bun 1.2: https://bun.sh/blog/release-notes/bun...
NodeJS writeHeapSnapshot: https://nodejs.org/api/v8.html#v8writ...
Minus 10x Engineer Theprimeagen: • How to -10x Engineer Correctly
📱 Socials
Twitter: / betterstackhq
Instagram: / betterstackhq
TikTok: / betterstack
LinkedIn: / betterstack