-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
fix lower heap hard limit condition for regions #76407
Conversation
Tagging subscribers to this area: @dotnet/gc Issue DetailsFixes #76199, where containers < 512mb were failing with E_OOM during GC initialization, since the check for
|
with the latest change, the lowest hard_limit possible is |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
other than the nit above, it LGTM
The Hardware Instrinsics failure looks related to: #76280. Other PRs are failing with that same failure. Need to port to 7 hence merging. |
/backport to release/7.0 |
Started backporting to release/7.0: https://github.com/dotnet/runtime/actions/runs/3179565569 |
Fixes #76199, where containers < 512mb were failing with E_OOM during GC initialization, since the check for
region_size * heaps * 19 (various generations) < reservation size
was failing.The logic is to now dynamically adjust region_size for smaller heap sizes. So for very small heap_hard_limits the region_size would be 1mb (instead of the default 4mb currently)