The default maximum input size: 64 MiB (64 * 1024 * 1024 bytes). D-24 sets
no reference default; this port's is large enough that no document within
the MAX_NODES limit is refused (a 1,000,000-leaf XML document is well under
50 MiB) and small enough to bound memory, which is what the 256 MiB
UTF-16-unit guard it replaces did not do.
The default maximum input size: 64 MiB (
64 * 1024 * 1024bytes). D-24 sets no reference default; this port's is large enough that no document within the MAX_NODES limit is refused (a 1,000,000-leaf XML document is well under 50 MiB) and small enough to bound memory, which is what the 256 MiB UTF-16-unit guard it replaces did not do.