The explanation is quite straightforward: the dump contains very long extended inserts and max_allowed_packet gets exceeded. I suppose there's nothing HeidiSQL can do about it because the user does not even have the SUPER privilege required to increase max_allowed_packet. Whatever, a friendly message is better than a crash :)