reducing buffering in memserver