-
Notifications
You must be signed in to change notification settings - Fork 596
Closed
Labels
Description
I have a quite large 17gb json file, which is an array of json objects [ {a:2} ... {b:2} ]
When I try to deserialize the whole object, my machine with 96GB RAM gets an OOM, which is i a little odd. Memory consumption for serde_json::from_str(&s)
seems to be quite high.
I saw there is an StreamDeserializer, although it seems it handles only data in the form of {a:2} {b:2} ...
https://docs.serde.rs/serde_json/de/struct.StreamDeserializer.html
schneiderfelipe