python - Cannot upload large file to Google Cloud Storage -


it okay when dealing small files. doesn't work when try upload large files. i'm using python client. snippet is:

filename='my_csv.csv' storage_client = storage.client() bucket_name = os.environ["google_storage_bucket"] bucket = storage_client.get_bucket(bucket_name) blob = bucket.blob("{}".format(filename)) blob.upload_from_filename(filename)  # file size 500 mb 

the thing traceback "killed" , i'm out of python interpreter.

any suggestions highly appriciated

edit: works okay local machine. application runs in google container engine, problems occurs there when runs in celery task.


Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -