maxFramedRecords top-level constant

int const maxFramedRecords

The most top-level records a framing walk retains.

Records are at least nine bytes, but each retained frame is a heap object. A ceiling keeps a hostile file made entirely of empty records from turning a bounded nine-byte scan into unbounded object accumulation. Records beyond it are still framed and counted; they are omitted only from the report table.

Implementation

const int maxFramedRecords = 65536;