The threshold can be set here: https://docs.mendix.com/refguide/custom-settings/#9-web-client-settings
More info here: https://forum.mendix.com/link/questions/87588
I am not sure what a correct value would be, personally i avoid changing the defaults here. Normally i only pass this theshold when i accidentally handle too much data at the same time. After changing my logic to be more effient, the threshold is no longer an issue.
I hope this helps