FAQ · P1
Large Electron / ASAR & JS graphs
Silent minutes, RangeError, and MCP sessions that stop answering pings.
Symptoms
analyze-javascript-applicationon a multi‑tens‑of‑MB ASAR prints nothing for a long time, then fails generically.- Huge in-memory graphs blow string limits (
RangeError: Invalid string length) masked as I/O errors. - While JS analysis runs synchronously, MCP ping/cancel may appear wedged.
Working pattern
- Start with a smaller loader or extracted subset, not the whole ASAR.
- Stage questions: inventory → one feature → one module.
- Watch doctor/client health; restart the MCP session after a hard abort.
- Prefer CLI for elephantine targets when the interactive agent needs to stay responsive.
6.4+ tip: summary / selected views
Large Evidence and JS graphs can return summary or selected views so agents keep tokens bounded. Pair with token-efficient REA and the 6.4.0 guide. Do not fabricate summaries to hide unknowns.
Authorized builds only — your app, your CI artifact, or permissioned samples.