Set buffer size to 10mb