Bun implements V8’s heap snapshot API, which allows you to create snapshots of the heap at runtime. This helps debug memory leaks in your JavaScript/TypeScript application.Documentation Index
Fetch the complete documentation index at: https://bun.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Inspect memory in Chrome DevTools
To view V8 heap snapshots in Chrome DevTools:- Open Chrome DevTools (F12 or right-click and select “Inspect”)
- Go to the “Memory” tab
- Click the “Load” button (folder icon)
- Select your
.heapsnapshotfile
