yargalot / gulp-accessibility

Gulp plugin for AccessSniff
48 stars 12 forks source link

Error: stdout maxBuffer exceeded #19

Closed ghost closed 8 years ago

ghost commented 8 years ago

I assume it's because the Project has grown beyond what was imagined, but it starts to break for more and more files with the same error:

Testing /home/some/path/to/file.html failed
Error: stdout maxBuffer exceeded

Heres a simple word count:

$ wc /home/some/path/to/file.html
  8410  28860 679426 /home/some/path/to/file.html

8410 lines 679426 bytes (679371 characters)

These aren't out in the wild pages, but huge collections of components in a style guide, with massive inline svg sprites. (Just telling you to prevent, you shouldn't do so huge pages anways answers).

Is there maybe a way to pass a desired buffer size to the actual exec call?

ghost commented 8 years ago

nvm found it: maxBuffer: 4096 * 1024 does the trick