Skip to content

get_archive puts the file in memory #547

@AnthonyDeroche

Description

@AnthonyDeroche

Long story short

When calling get_archive in containers.py, could you confirm that the whole file is stored in memory ?
If so with a large file, the machine could run out of memory.

What do you suggest to me if I want to get a stream to avoid storing the whole file in memory ?

Your environment

aiodocker 0.19.1
python 3.8.6
Linux

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions