Learn how to debug JavaScript memory leaks using Bun’s implementation of the V8 heap snapshot API and Chrome DevTools. Identify memory leaks through heap snapshot comparisons, and get tips on reducing memory usage. Additionally, understand common sources of memory leaks such as closures, AbortController, EventEmitter listeners, and more.

8m read timeFrom bun.sh
Post cover image
Table of contents
V8 Heap SnapshotsCommon Sources of Memory Leaks

Sort: