Actually, I also wondered what size I should use and I couldn't find best convention or unified rule to decide the buffer size. However, 256 seems large enough to store error messages in usual case as one of the  respondents in your link says.
If you have an idea or concern about the buffer size, could you please suggest me?