Hello! I would use 2GB as the default .NET array limit as a first approximation of the maximum length.
Note that this is from a Reader module - if you're providing it as an input to a web service's RRS endpoint the limit is drastically smaller due to the JSON serialization limitation.
Anyway if you were handling that much data I expect you would be using the Batch endpoint :)
Regards,
AK