# AWS avoid loading to memory when putting

**URL:** https://discourse.julialang.org/t/aws-avoid-loading-to-memory-when-putting/35637
**Category:** General Usage
**Tags:** question, memory-allocation
**Created:** [March 6, 2020, 12:44pm UTC](https://discourse.julialang.org/t/aws-avoid-loading-to-memory-when-putting/35637 "2020-03-06T12:44:40Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![yakir12](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yakir12/32/297_2.png) [@yakir12](https://discourse.julialang.org/u/yakir12)
#### Post date: [March 6, 2020, 12:44pm UTC](https://discourse.julialang.org/t/aws-avoid-loading-to-memory-when-putting/35637/1 "2020-03-06T12:44:40Z")

</div>

I’m recording videos from a raspberry pi and want to put those on an S3 bucket using [AWSS3.jl](https://github.com/JuliaCloud/AWSS3.jl). The thing is, these videos can be large approaching the RAM of the RPI (in my case 2GB). So I’s like to avoid loading them to memory, as a vector of bytes, which is what `AWSS3.s3_put` expects.

Is there a way to either:

1. pipe the output of the camera (or anything really) directly into the bucket?
2. put a saved file in the bucket without reading it whole into memory?

Thanks!
