10 MB was too much for the buffer size