Set a maximum size for the Message interface