SAML AttributeValue max length

I’m trying IdP initiated flow from Okta, and utilizing custom attribute statements. What is the maximum supported length for the value? I had no issues sending from Okta and receiving on SP pretty long value 10K symbols, but your documentation states 1024 (

Can you comment on that?