Maximum model size for print engine?

For a feature, I created a shadow copy of a large set of fields of an already large document model that I would fill through the BE, but it seems that compiling a print model has is limits when it comes to document model size?

I got this error on compiling a a print model on which I didn’t change anything, just added a large number of fields to the document model it was linked to

Script1.groovy: 3559: String too long. The given string is 67720 Unicode code units long, but only a maximum of 65535 is allowed

Reducing the number of fields to just those I actually required alleviated the issue, but I wanted to know whether document models for this reason have a limit when used by the print engine.

We are currently investigating this together with Jasper.
In general this should not happen, if you encounter this please create a A12 Overall Bug Ticket.

I tried to reproduce the issue, but failed to do so. I will create a bug ticket if I come across it again.