Skip to content

Memory usage of nix_cpio_generator #22

Open
@mweinelt

Description

Very cool project. I'm giving it a spin and I run it on a VM with 3C/8 GB RAM.

For a very minimal configuration with a closure size of ~742 MB the generation of the initrd cpio archive reliable runs out of memory within seconds.

Can you clarify, if that is intended and necessary?

Update: Needed ~11.5 GB of memory in the end, but I wonder if nix-cpio-generator could manage memory better. The closure is likely to grow a bit more, and requiring 15 times as much memory as the closure size is wild.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions