Based on https://github.com/openwebwork/webwork2/blob/main/lib/WeBWorK/DB/Record/PastAnswer.pm it seems that the limit is 5012 characters, and this does not seem to have changed in recent versions of WeBWorK.
I would suspect that if there is a problem it is either with some specific question or with "very long answers" entered by a a student.