colossus
A ParserSizeTracker can wrap a stream parser to ensure that the object being parsed doesn't exceed a certain size.
Streaming Parser Combinators