title: Azure python storage block blob storage is eating all the memory up
body: <p>I have written a Python script to make an Azure VM automatically built and upload to Azure from KVM, and I'm facing an issue which I can't fix.
  As soon as the VM has been built I'm trying to upload the disk to Azure using the Azure Python module, and the issue is that the script is literally eating all the available RAM. I have tried several ways of coding and it always ends with the same result.</p>
  
  <pre><code>   block_blob_service = BlockBlobService(vars.az_storage_acc_name, vars.az_sto_key)
      blob = open(args.pool_path + args.name + "-az"+'.vhd', 'r')
      print "Upload {} to Azure Blob service".format(args.name +"-az"+'.vhd')
      block_blob_service.create_blob_from_stream(vars.az_cnt, args.name +"-az"+'.vhd', blob)
  </code></pre>
  
  <p>I have also tried the following :</p>
  
  <pre><code>stream = io.open('/path_to_vhd', 'rb')
  
  BlockBlobService.create_blob_from_stream(vars.az_cnt, "test-stream.vhd", stream)
  </code></pre>
  
  <p>No luck, each time the blob creation is initiated but if fails eventually since there is no RAM available.</p>
  
  <p>Do you have a lead which could allow me to achieve this ?</p>