I think it would be more useful to print the serializedSize than the TASK_SIZE_TO_WARN here (of course have to change the message format to follow).