Iam trying to send tar file client side.Tar is done using subprocess and while sending it client side iam not able to send with message :Out of memory
Below is the code snippet:
process = subprocess.run(['tar', '-cvf', '-', base_dir], stdout=subprocess.PIPE)
b = BytesIO(process.stdout)
w = FileWrapper(b)
response = Response(w, direct_passthrough=False)
Able to send files upto 3 GB, But failing with 4GB
Please suggest on how to proceed.
[edit by admin: formatting]