Skip to main content

MAX_NODES

Constant MAX_NODES 

Source
pub const MAX_NODES: u32 = 4_000_000;
Expand description

The most XML nodes the parser builds for one file, over all the documents it holds together, so a file of many tiny elements, in one document or several, can’t fill memory. The sample files hold well under 100,000.