4 ms·
what where you trying to do with it? I often work with jq on very large json files without much issue.
by upon_drumhead 4y ago
what where you trying to do with it? I often work with jq on very large json files without much issue.
- crooked-v 4y agoIn this case it was a single giant object I was trying to extract a specific list of keys (with unknown value lengths) from. Every method I found with jq died with out of memory errors.
- upon_drumhead 4y agoDid you try using streaming? https://stedolan.github.io/jq/manual/#Streaming https://stedolan.github.io/jq/manual/#Streaming You have to rewrite your criteria, but it's what's allowed me to process huge json files without issues.