Is it possible to limit file upload size

Is it possible to limit file upload size? I notice that when a ~600MB upload is in progress the passenger node app grows and grows, until peaking out around 1.2GB of RAM, AND the file on the target system is truncated at 363MB (no quota on the target disk size).

Is there a setting to limit the file upload size (and tell the user the file is too big, vs just dropping the connection)?

/etc/ood/config/apps/files/env can be set to FILE_UPLOAD_MAX=268435456 for 256MB limit. Default limit is around 10Gb. See though this should be discoverable on and it currently is not.