Runtime Feedback
How to read Kunai's playback health, memory, network, and diagnostics signals.
Kunai keeps normal playback calm, then exposes runtime feedback when it helps you understand a slow provider, a buffering stream, or a possible memory issue.
During playback
- Press
mwhile playback is active to reveal the memory strip. - By default, the strip is hidden and temporary.
- If the memory panel setting is enabled, pressing
mpins it until you pressmagain. - Open
/diagnosticsfor the full runtime health view.
The memory line separates Kunai from the player:
Appis the Kunai process RSS.mpvis the direct child player RSS when the platform exposes it.totalis app plus player RSS.heapis the JavaScript heap used and reserved by Bun.swapappears only when the platform reports swap usage.
On Linux, Kunai reads /proc to include the direct mpv child. On platforms without /proc, the app memory remains available and player memory may show as 0.0 MiB.
Memory trend is a short-lived, in-process sample window. It is not written to the data DB and it resets when Kunai exits. stable means recent movement stayed inside the normal noise band, while growing means RSS or heap climbed quickly enough to deserve attention.
Network and provider feedback
The playback shell and Diagnostics panel summarize the latest mpv and provider events:
Networkshows cache speed, buffer-ahead seconds, stalls, and same-stream reconnect attempts.Providershows the resolved provider, cache hits, stream counts, subtitle counts, and typed failures.Cacheexplains whether Kunai used a fresh stream, refreshed a stale stream, or kept a cached fallback.
Use /export-diagnostics when a session behaves strangely. The bundle is redacted and stays local until you choose to share it.
When to investigate memory
Memory is worth checking when:
- The app stays open across many titles and RSS only climbs.
mpvremains non-zero after playback stops.- Swap appears in the runtime line.
Memory trendstaysgrowingafter several diagnostic checks.- The terminal becomes slow while provider/network health looks normal.
If you report this, include the /diagnostics output, the exact command you ran, platform details, and whether artwork previews or downloads were enabled.
Related guides
Last updated on