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

warning: dumping very large path (> 256 MiB); this may run out of memory #12243

Closed
Pitometsu opened this issue Jan 8, 2016 · 7 comments
Closed

Comments

@Pitometsu
Copy link

When I open nix-shell with derivation I got this warning.
So what I may did do wrong?
In case if this is wrong place for such questions, please, target me to something like NixOS forum. Thanks.

@vcunat
Copy link
Member

vcunat commented Jan 8, 2016

Duplicate of NixOS/nix#602

@vcunat
Copy link
Member

vcunat commented Jan 8, 2016

It's actually nothing wrong, really. Just a warning that our implementation isn't very memory-efficient which can cause problems in very rare cases (huge files in /nix/store).

@peti
Copy link
Member

peti commented Jan 8, 2016

@Pitometsu, you should probably ask these questions in the IRC channel #nixos on irc.freenode.net.

@Pitometsu
Copy link
Author

@vcunat anyway it shouldn't have warnings than, it confuse. Shouldn't it be labeled as bug at least with low-priority?

@vcunat
Copy link
Member

vcunat commented Jan 8, 2016

It is an enhancement/bug with low priority. The warning is there so that you're not confused by silently running out of RAM.

@mogorman
Copy link
Contributor

mogorman commented Jan 8, 2016

I disagree. I think it is a beneficial warning.

@Pitometsu
Copy link
Author

This warning looks like I do something wrong, it confused me :)
Probably if it was like "Just relax and keep calm, after few seconds shell will take some amount of your RAM, it's ok, RAM eating in progress..." I would not be worried :D

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

No branches or pull requests

4 participants