question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

BlockBlobService size limits are outdated

See original GitHub issue

Which service(blob, file, queue) does this issue concern?

blob

What problem was encountered?

These constants are too low for the current version (which is 2017-07-29)

Have you found a mitigation/solution?

The constants should be changed to the following:

  • MAX_SINGLE_PUT_SIZE = 256 * 1024 *1024 (ref)
  • MAX_BLOCK_SIZE = 100 * 1024 * 1024 (ref)
  • MIN_LARGE_BLOCK_UPLOAD_THRESHOLD = 100 * 1024 * 1024 + 1 to match MAX_BLOCK_SIZE

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
smarlowucfcommented, Dec 18, 2018

@zezha-msft Ah, I was only looking at the parameters. This should work then. Thank you.

0reactions
smarlowucfcommented, Dec 19, 2018

Okay, thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

azure.storage.blob.blockblobservice.BlockBlobService class
The maximum size of a block blob is therefore approximately 4.75 TB (100 MB X 50,000 blocks). If you are writing a block...
Read more >
blockblobservice python example - You.com | The search ...
Each block can be a different size, up to a maximum of 100 MB, and a block blob can include up to 50,000...
Read more >
Solve timeout errors on file uploads with new azure.storage ...
The correct solution, if your control flow allows it, seems to be setting the max_single_put_size to something smaller (like 4MB) when you ...
Read more >
from azure.storage.blob import BlockBlobService is not working
I believe you were following the new guide which uses azure-storage-blob and were trying to use code for the old azure-storage library, thus...
Read more >
Python BlockBlobService.list_blobs Examples
Python BlockBlobService.list_blobs - 21 examples found. ... "size": item.properties.content_length, }) return results def delete_key(self, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found