Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory usage of nix_cpio_generator #22

Open
mweinelt opened this issue Jan 27, 2024 · 0 comments
Open

Memory usage of nix_cpio_generator #22

mweinelt opened this issue Jan 27, 2024 · 0 comments

Comments

@mweinelt
Copy link

mweinelt commented Jan 27, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant