Closed darrenchang closed 3 years ago
Hi @darrenchang,
Unfortunately seems like the option is to make diff2html handle this in a streaming way as described here https://stackoverflow.com/questions/48698234/node-js-spawn-vs-execute
In theory it should not be hard since we parse the diff line by line, but I never tried to optimize this. Also if you want to contribute the change this should be fixed in https://github.com/rtfpessoa/diff2html since this repo is just a cli wrapper around it.
Closing here since opened https://github.com/rtfpessoa/diff2html/issues/359
Hi @darrenchang,
I did a possible fix and released it in version 5.1.8-fixignorepathsusespawn.1.37dcf7e
.
Can you check if it is fixed and let me know?
Let me know if it is not fixed and I will re-open
I have a really large commit on my private repository. It contains a new json file that has over 40000 lines. When I try to compare the commit, it shows the following error.
How can I increase the buffer size to complete this compare?