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.

OpenCode v1.3.2: Heap Snapshot Debugging

TL;DR

  • Heap snapshot capture for TUI and server processes via "Write heap snapshot" command
  • Snapshots saved as tui.heapsnapshot and server.heapsnapshot files
  • 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