-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Minor - P4
-
None
-
Affects Version/s: 2.2
-
Component/s: Json
-
None
The JsonBuffer class, when wrapping a TextReader, will consume memory equal to the total number of characters consumed from the TextReader. This could cause problems in several scenarios:
- A mongoimport-like scenario, where a single file contains many JSON documents and a single JsonReader is used to read them all
- A really large JSON document (though in most situations you'd need space proportional to the size of the document anyway)