add maxBuffer, fix for 'stdout maxBuffer exceeded'

Need a larger maxBuffer, set to 1M.