dotnet / dotnet/performance

GC benchmark "low_memory_container" crashes with an Out of memory exception on Win10/Win11

Open
#2,570 0 comments 0 reactions 1 assignee Claimed by @mrsharm View on GitHub
Dominant language
F#
Stars
773
Forks
301
Avg merge
6d 9h
Merged PRs (30d)
15

Description

All other gc benchmarks run fine except for low_memory_container.

Running it via `python . suite-run` or manually (as follows) produces the same error:

```
D:\performance\src\benchmarks\gc\bench\suite-default\low_memory_container.yaml.out\defgcperfsim__a__only_config__tlgb0.2__0> D:\performance\src\benchmarks\gc\src\exec\env\out\Release\run_in_job.exe --memory-mb 600.0 -- D:\runtime\artifacts\tests\coreclr\windows.x64.Release\Tests\Core_Root\CoreRun.exe D:\performance\artifacts\bin\GCPerfSim\release\netcoreapp5.0\GCPerfSim.dll -tc 18 -tagb 80.0 -tlgb 0.2 -lohar 0 -pohar 0 -sohsi 30 -lohsi 0 -pohsi 0 -sohsr 100-4000 -lohsr 102400-204800 -pohsr 100-204800 -sohpi 50 -lohpi 0 -sohfi 0 -lohfi 0 -pohfi 0 -allocType reference -testKind time
corerun D:\performance\artifacts\bin\GCPerfSim\release\netcoreapp5.0\GCPerfSim.dll -tc 18 -tagb 80.0 -tlgb 0.2 -lohar 0 -pohar 0 -sohsi 30 -lohsi 0 -pohsi 0 -sohsr 100-4000 -lohsr 102400-204800 -pohsr 100-204800 -sohpi 50 -lohpi 0 -sohfi 0 -lohfi 0 -pohfi 0 -allocType reference -testKind time
allocating 4,772,185,884 per thread
Running 64-bit? True
PID: 6384
Running 18 threads.
time, ReferenceItem, tlgb 0.01111111044883728, tagb 4.444444444030523, totalMins 0, buckets:
100-4000; surv every 30; pin every 50; weight 1000; isPoh False
Thread 9 stopping phase after 4551.111110687256MB
Thread 6 stopping phase after 4551.111110687256MB
Thread 8 stopping phase after 4551.111110687256MB
Thread 0 stopping phase after 4551.111110687256MB
Thread 13 stopping phase after 4551.111110687256MB
Thread 7 stopping phase after 4551.111110687256MB
Thread 2 stopping phase after 4551.111110687256MB
Thread 11 stopping phase after 4551.111110687256MB
Thread 14 stopping phase after 4551.111110687256MB
Thread 17 stopping phase after 4551.111110687256MB
Thread 15 stopping phase after 4551.111110687256MB
Thread 10 stopping phase after 4551.111110687256MB
Thread 4 stopping phase after 4551.111110687256MB
Thread 16 stopping phase after 4551.111110687256MB
Thread 1 stopping phase after 4551.111110687256MB
Thread 5 stopping phase after 4551.111110687256MB
Thread 3 stopping phase after 4551.111110687256MB
Thread 12 stopping phase after 4551.111110687256MB
Out of memory.
Out of memory.
Out of memory.
Out of memory.
Out of memory.
Out of memory.
PID: 6384
```

Runtime built locally from the latest `dotnet/runtime` changes (commit `5dc31da80fd2221f38d`)
GC benchmarks built using SDK 7.0.100-preview.7 + VS22 17.4.0 Preview 1.0

Thanks

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.