uploading tiny files takes HUGE amount of memory and cpu #1305
Labels
api: storage
Issues related to the googleapis/nodejs-storage API.
triage me
I really want to be triaged.
My application is maxed out on CPU and is using a large amount of memory when I introduce a file upload (removing it fixes the problem). I've no idea what I'm doing wrong, but here's some sample code with supporting output. It shows a big jump in memory after the @google-cloud/storage api is invoked and the CPU runs very high. In practice, my app CPU hits 100% constantly.
https://gist.github.com/npomfret/68f9e668042da1b61dcee3554060834c
Sample output:
The text was updated successfully, but these errors were encountered: