Skip to content

Files for upload are fully loaded into memory #350

@andreme

Description

@andreme

🐞 Describe the bug

When uploading large files (larger than the available memory), the upload fails.

In our case, the pod running in Kubernetes is OOM killed.

const fileContent = fs.readFileSync(filePath)

💡 Expected behavior

Allow upload of large files.

📋 Additional context

S3 upload accepts file streams for the body.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions