@Sarajin questions are welcome in our GitHub issues as well.
Regarding your question:
Hello, I'm using the S3 integration (with 1.13.0) and have a question regarding downloading files from S3.
The S3 integration is inapplicable for us when handling big files (1GB+), since
interceptDownload first downloads files into memory and then serves them to the client. So our machines ran out of memory and stalled. Therefore, I'd like to stream the data to the client, but the following solution does not work for me:
const stream = s3.getObject(opts).createReadStream(); fileCollection.serve(http, fileRef, fileRef.versions[version], version, stream);
Do you see any flaws in this solution? Could you give me any pointers on why this isn't working? Thanks!