You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The io.Copy is allocating 32K for every upload. My app is reading from a multipart.Part which doesn't implement WriteTo to avoid creating that buffer, nor does s3util implement:
Hi Keith,
Today I tried using s3util to stream 50 x 50MB videos to S3 in one second. My Heroku dyno ran out of memory (512MB).
So time to figure out the memory profiler. This is what it reports for a smaller 500K upload:
The io.Copy is allocating 32K for every upload. My app is reading from a multipart.Part which doesn't implement WriteTo to avoid creating that buffer, nor does s3util implement:
I'm not sure if that is the main issue though. I'm still trying to understand uploader.go, particularly Write.
The text was updated successfully, but these errors were encountered: