set a smaller buffer size en macosx