Limit upload size to 500 MB (375MB before base64 encoding)