Mikael Sikora
Mikael Sikora
I tested this fix and it worked for me. Commands and sample output: ``` git clone [email protected]:toy/qlstephen.git cd qlstephen git switch extensions-fix sudo xcode-select -s /Applications/Xcode.app/Contents/Developer make && make install...
I keep hitting this issue with my large files. Do you have a target date for fixing this?
allocations.json is 137MB. I tried he NODE_OPTIONS environment variable that @trzecieu mentioned: ``` NODE_OPTIONS=--max_old_space_size=16384 prettier --write ./allocations.json ``` Node memory peaked at 16.42 GB, then crashed: ``` FATAL ERROR: Reached...
Okay, found a workaround. It requires [jq](https://github.com/stedolan/jq) and [moreutils](https://rentes.github.io/unix/utilities/2015/07/27/moreutils-package/), which has [sponge](https://rentes.github.io/unix/utilities/2015/07/27/moreutils-package/#sponge). The command that worked for me (including an `echo` to watch progress): ``` find . -name '*.json' -exec...