underscore-cli
underscore-cli copied to clipboard
Feature request: better handling of large JSON files
I have a >500 megabyte JSON file which I would like to format, but underscore-cli dies almost immediately:
λ ~ underscore -i results.json print > pretty_results.json
FATAL ERROR: CALL_AND_RETRY_0 Allocation failed - process out of memory
Presumably it's trying to malloc a large amount of memory. If so, some sort of streaming might be a viable solution.