Skip to content

[Bug] Hoarder uploads shouldn't buffer the entire file in memory #1173

@MohamedBassem

Description

@MohamedBassem

User reported an issue where SingleFile uploads causes V8 to go out of heap memory (JavaScript heap out of memory). This is caused by hoarder's upload logic buffering the entire upload in memory before storing it in the asset db. This need to be changed, and the file should be cached to a temp file instead while it's being uploaded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpri/highHigh priority issuestatus/approvedThis issue is ready to be implemented

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions