[Nix#9610] out of memory
when using nix-store --import
on NARs with large store paths #85
Labels
No labels
Area/build-packaging
Area/cli
Area/evaluator
Area/fetching
Area/flakes
Area/language
Area/profiles
Area/protocol
Area/releng
Area/remote-builds
Area/repl
Area/store
bug
crash 💥
Cross Compilation
devx
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
imported
Needs Langver
OS/Linux
OS/macOS
performance
regression
release-blocker
RFD
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
testing/flakey
ux
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#85
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Upstream-Issue: NixOS/nix#9610
Describe the bug
When importing a .nar file created with
nix-store --export
usingnix-store --import
, thennix-store --import
may fail sayingerror: out of memory
. This is easy to reproduce usingpkgs.quartus-prime-lite
in nixpkgs whose exported contents are about 17G.Steps To Reproduce
nix-store --export > blah.nar
cat blah.nar | nix-store --import
(after deleting it or on another machine)Expected behavior
I expect the import to complete.
nix-env --version
outputnix-env (Nix) 2.18.1
Additional context
This used to print a warning, but I had believed the warning was removed when all cases of this out of memory error were fixed. I'm not sure if this case was never fixed or there has been a regression.
Priorities
Add 👍 to issues you find important.