Allocate enough space initially for the message.