Azure / Azure/azure-cli-extensions

Stream blob upload OOM

Open
#5,107 2 comments 1 reaction 1 assignee Claimed by @evelyn-ys View on GitHub
Auto-Assign Azure CLI Team bug customer-reported Service Attention Storage
Dominant language
Python
Stars
454
Forks
1.7k
Avg merge
2d 19h
Merged PRs (30d)
64

Description

Trying to use this now, and the az process is OOMing even with a tiny "length"

### Related command
```
pg_basebackup -D - -X fetch --format tar --gzip --compress=3 --max-rate 2M | \
az storage blob upload --data @- --length 1024 -c wal -n $(hostname -s)/base.tar.gz
```
The pg_basebackup process uses 8MB, and az is growing indefinitely until OOM killed (at 2GB on the current VM)

### Extension name (the extension in question)
storage-blob-preview

Originally posted [here](https://github.com/Azure/azure-cli-extensions/pull/2799#issuecomment-1172221947), but extracted to separate issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.