By disabling chunked uploading when the object size is less than the chunk size, memory is not allocated unnecessarily.