increase buffer size to 4M by default