I am attempting to download a large file via Azure-python-sdk get_blob_to_stream, however, my program keeps exiting with the return code 137 - which seems to be related to running out of memory. (I can see in top that python is consuming more and more memory until it is killed).
Code:
with io.open(file_path, 'w') as file:
self.blob_service.get_blob_to_stream(container_name='container', blob_name=blob_name, stream=file)
I am using azure-sdk-for-python and get_blob_to_stream for this and the file is about 6.5 gb.
The file is being created as 0 bytes and nothing is written to it - am I doing something obviously wrong here?