Open graphicsxp opened 5 years ago
actually I've reduced the file size to 207Kb and just over 200,000 characters on a single line.
When the file is written back to the drive it is only 149Kb, so it gets truncated again. I can send you the file if needs be.
The plugin fails to read large file (mine is 3Mb of minified javascript which contains over 3 million characters on a single line). This is because it uses the standard reader. I guess the buffer gets filled.
In the end, the new file is created but it is smaller than the original (truncated)
Any chance this could be done using asynchronous reader ?
Problem is explained there : https://stackoverflow.com/questions/139593/processstartinfo-hanging-on-waitforexit-why