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

hydra-eval-jobs: Warn and resets maxHeapSize on bad values #627

Merged
merged 1 commit into from Mar 17, 2019

Conversation

samueldr
Copy link
Member

@samueldr samueldr commented Dec 22, 2018

This is because setting only the initial heap size to more than
the default value (or the configured value) will cause all initial evals
until maxHeapSize expands to the given value to abort.

The 1.1 multiplier comes from the the configured defaults on NixOS' hydra,
and from the previous multiplier used before
7876cf6.


 $ export GC_INITIAL_HEAP_SIZE=40G
 $ .../result/bin/hydra-eval-jobs ...
warning: evaluator_initial_heap_size (42949672960) bigger than evaluator_max_heap_size (1073741824).
         evaluator_max_heap_size now set to 47244640256.

This is because setting only the initial heap size to more than
the default value (or the configured value) will cause all initial evals
until maxHeapSize expands to the given value to abort.

The 1.1 multiplier comes from the the configured defaults on NixOS' hydra,
and from the previous multiplier used before
7876cf6.
@grahamc grahamc merged commit 0721f66 into NixOS:master Mar 17, 2019
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

Successfully merging this pull request may close these issues.

None yet

2 participants