OpenCode v1.3.2: Heap Snapshot Debugging
OpenCode v1.3.2 adds heap snapshot capture for TUI and server processes, enabling memory profiling and leak detection.
TL;DR
- Heap snapshot capture for TUI and server processes via "Write heap snapshot" command
- Snapshots saved as
tui.heapsnapshotandserver.heapsnapshotfiles - Useful for debugging memory leaks and profiling performance
New
- Heap snapshot functionality — Capture memory snapshots of both TUI and server processes to diagnose memory issues and performance bottlenecks.
Update with: npm install opencode@1.3.2 or check the release page.
Source: OpenCode