Skip to content

Conversation

@alistairjevans
Copy link

Added a method to JsonReader that allows a consumer to clear the memory use of the reader when reading very large JSON documents.

Came across this problem myself, found it in JIRA and thought I'd contribute!

…ers of the reader can choose to clear the memory use of the reader when reading large JSON documents.
@JamesKovacs
Copy link
Contributor

Based on our investigation of this issue, the JsonBuffer will grow to fit the largest JSON document, but the buffer contents will be reset after each top-level document is read. Please re-open CSHARP-1525 with a repro of the issue demonstrating the issue if this is still a problem with the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants