XML error reference · XV029

Document too large

The input exceeds the size this tool will process in the browser.

What causes it

Everything here runs in your browser tab, which means the document, the parse tree and the editor state all live in that tab's memory. Beyond roughly twenty megabytes the tree can consume several hundred megabytes and the tab becomes unresponsive, so the limit is enforced deliberately rather than discovered by crashing.

See it happen

Triggers the error
<!-- a 200 MB catalogue export -->
Corrected
<!-- split into per-day files, or stream with iterparse -->

How to fix it

Split the document, or validate a representative sample. For genuinely large files a streaming parser on your own machine is the right tool. `xmllint`, Python's `iterparse` and SAX parsers all work, because none of them build the whole tree in memory.

Fix your own document

Paste your own document below. Press Sample if you want the broken example above loaded instead. Nothing you paste leaves this tab.

XML Validator

Well-formedness and schema validation. Nothing is uploaded.

Input
WaitingPaste a document to check it. Validation runs as you type.

Everything runs in this tab. Nothing you paste is uploaded, logged or sent anywhere. Open your network panel and check.

Tools that catch this

Background reading

Errors this fixes

Every XML error, explained