GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — v1.1.6 still has memory bloat - heap not released + MCP orphan processes · Issue #7261 · anomalyco/opencode Closed Labels perfIndicates a performance issue or need for optimization DescriptionEnvironment
ProblemAfter updating to v1.1.6 (which was supposed to fix memory issues per #5363, #6119, #7046), experiencing:
Diagnostics1. Go Heap Arena AccumulationThe process accumulates Go heap arenas (128MB each) that are never released: Go's GC collects objects but doesn't return memory to OS. Over long sessions with many tool invocations, this balloons to 70GB+. 2. MCP Server Process LeaksWhen OpenCode exits (crash or normal), MCP servers aren't terminated: # Found after previous session crashed: PID 37195 - context7-mcp (started 4:13 PM) ← ORPHAN PID 37184 - context7-mcp (started 4:13 PM) ← ORPHAN PID 37227 - chrome-devtools-mcp (started 4:13 PM) ← ORPHAN PID 37216 - chrome-devtools-mcp (started 4:13 PM) ← ORPHAN # Current session spawns NEW ones: PID 75937 - context7-mcp (started 4:28 PM) PID 75927 - chrome-devtools-mcp (started 4:28 PM) Each crashed/exited session leaves ~300MB+ of orphan MCP processes. 3. Temp File Accumulation27 JIT-compiled Reproduction
Proposed FixesFor Go memory retention:// After processing large tool outputs: runtime.GC() debug.FreeOSMemory() // Actually returns memory to OS For MCP orphans:
For users (workaround):# Kill orphaned MCP servers between sessions pkill -f "context7-mcp|chrome-devtools-mcp|atlassian-mcp" Related Issues
Notesv1.1.6 release notes mention "tool output truncation" fix, but the underlying Go memory retention issue persists. The truncation helps reduce peak allocation, but doesn't address the arena retention problem. Reacted by Daniel Vélez Activity
MetadataMetadataAssigneesLabelsperfIndicates a performance issue or need for optimization TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |