-
Notifications
You must be signed in to change notification settings - Fork 23
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
Add tests for constant-space NAR processing #10
Comments
There are a bunch... NixOS/nix#1988 and probably more. |
Thanks for the examples! We now have constant-space streaming tests for large files in #7 |
Closed by #7 |
Wow, this is awesome! Thanks guys - just got bit by NixOS/nix#1988 |
I made a PR that should fix (at least one more part) of that in nix: NixOS/nix#2206 |
Anton-Latukha
added a commit
to Anton-Latukha/hnix-store
that referenced
this issue
Jul 10, 2020
…ify-work-02 Solidify work
Ericson2314
pushed a commit
to obsidiansystems/hnix-store
that referenced
this issue
Oct 31, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When working with NARs that are large, we want to test that our serialization/deserialization can work in constant space. This can be achieved with a run of the test suite with RTS parameters limiting the heap size, e.g.
./space-tests +RTS -K100K
(taken from http://neilmitchell.blogspot.com/2015/09/detecting-space-leaks.html)@shlevy Could you add links to this ticket to issues in
nix
tooling where memory issues affected NAR processing? Those could suggest test fixtures and specific regression tests for us.The text was updated successfully, but these errors were encountered: