Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/anomalyco/opencode
/ syncHeap
Function
syncHeap
packages/app/src/components/debug-bar.tsx:247–251 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
245
}
246
247
const syncHeap = () => {
248
const mem = (performance as Mem).memory
249
if (!mem) return
250
setState(
"heap"
, { limit: mem.jsHeapSizeLimit, used: mem.usedJSHeapSize })
251
}
252
253
const reset = () => {
254
fps.length = 0
Callers
2
start
Function · 0.85
DebugBar
Function · 0.85
Calls
1
setState
Function · 0.85
Tested by
no test coverage detected