
Your agent's CSV import works on the sample file and dies on the real one: put it on a heap budget
Agent-written Node code loves readFile and split. A Vitest test that runs the import in a 48 MB heap fails it in about 150 ms, and the streaming rewrite passes.
9 min read