{"draft":null,"from":165,"to":166,"files":[{"path":"src/engine/graph.ts","added":6,"removed":1,"diff":"--- a/src/engine/graph.ts\n+++ b/src/engine/graph.ts\n@@ -429,7 +429,12 @@\n \t\t\t\t\t}\n \t\t\t\t\tconst listCount = Object.keys(lists).length;\n \t\t\t\t\tconst hasLists = listCount > 0;\n-\t\t\t\t\tif (atom.inserts.length > 256 || atom.inserts.some((run) => run.lines.length > 256)) {\n+\t\t\t\t\tlet insertionCharacters = 0;\n+\t\t\t\t\tif (\n+\t\t\t\t\t\tatom.inserts.length > 256 ||\n+\t\t\t\t\t\tatom.inserts.some((run) => run.lines.length > 256) ||\n+\t\t\t\t\t\tatom.inserts.some((run) => run.lines.some((line) => (insertionCharacters += line.length) > 65536))\n+\t\t\t\t\t) {\n \t\t\t\t\t\tconst collection = `atom-inserts:${input.seq}`;\n \t\t\t\t\t\tconst runs = storedArray<unknown>(storage, collection);\n \t\t\t\t\t\tlet runIndex = 0;"}],"unmatched":[]}