Skip to content

[NativeAOT] Test_GetTotalAllocatedBytes test fails with OutOfMemoryException #119187

@jkotas

Description

@jkotas
System.AggregateException: One or more errors occurred. (Insufficient memory to continue the execution of the program.)
 ---> System.OutOfMemoryException: Insufficient memory to continue the execution of the program.
   at System.Threading.Thread.StartCore() + 0xd5
   at Test_GetTotalAllocatedBytes.<>c__DisplayClass10_0.<TestAnotherThread>b__0() + 0x89
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread, ExecutionContext, ContextCallback, Object) + 0x8b

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1133784
Build error leg or test failing: GC/API/GC/GetTotalAllocatedBytes/GetTotalAllocatedBytes.cmd
Pull request: #119167

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": ["OutOfMemoryException","at Test_GetTotalAllocatedBytes"],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1133784
Error message validated: [OutOfMemoryException at Test_GetTotalAllocatedBytes]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 8/28/2025 7:39:21 PM UTC

Report

Build Definition Test Pull Request
1159002 dotnet/runtime GC/API/GC/GetTotalAllocatedBytes/GetTotalAllocatedBytes.cmd
1158886 dotnet/runtime GC/API/GC/GetTotalAllocatedBytes/GetTotalAllocatedBytes.cmd
1157805 dotnet/runtime GC/API/GC/GetTotalAllocatedBytes/GetTotalAllocatedBytes.cmd
1157351 dotnet/runtime GC/API/GC/GetTotalAllocatedBytes/GetTotalAllocatedBytes.cmd
1155469 dotnet/runtime GC/API/GC/GetTotalAllocatedBytes/GetTotalAllocatedBytes.cmd #119938
1154393 dotnet/runtime GC/API/GC/GetTotalAllocatedBytes/GetTotalAllocatedBytes.cmd
1152976 dotnet/runtime GC/API/GC/GetTotalAllocatedBytes/GetTotalAllocatedBytes.cmd
1152496 dotnet/runtime GC/API/GC/GetTotalAllocatedBytes/GetTotalAllocatedBytes.cmd
1152168 dotnet/runtime GC/API/GC/GetTotalAllocatedBytes/GetTotalAllocatedBytes.cmd
1151112 dotnet/runtime GC/API/GC/GetTotalAllocatedBytes/GetTotalAllocatedBytes.cmd
1151036 dotnet/runtime GC/API/GC/GetTotalAllocatedBytes/GetTotalAllocatedBytes.cmd
1148552 dotnet/runtime GC/API/GC/GetTotalAllocatedBytes/GetTotalAllocatedBytes.cmd
1147762 dotnet/runtime GC/API/GC/GetTotalAllocatedBytes/GetTotalAllocatedBytes.cmd #118371
1145282 dotnet/runtime GC/API/GC/GetTotalAllocatedBytes/GetTotalAllocatedBytes.cmd #119385
1144353 dotnet/runtime GC/API/GC/GetTotalAllocatedBytes/GetTotalAllocatedBytes.cmd
1141887 dotnet/runtime GC/API/GC/GetTotalAllocatedBytes/GetTotalAllocatedBytes.cmd
1139479 dotnet/runtime GC/API/GC/GetTotalAllocatedBytes/GetTotalAllocatedBytes.cmd
1138431 dotnet/runtime GC/API/GC/GetTotalAllocatedBytes/GetTotalAllocatedBytes.cmd #115335
1137515 dotnet/runtime GC/API/GC/GetTotalAllocatedBytes/GetTotalAllocatedBytes.cmd
1134449 dotnet/runtime GC/API/GC/GetTotalAllocatedBytes/GetTotalAllocatedBytes.cmd
1133784 dotnet/runtime GC/API/GC/GetTotalAllocatedBytes/GetTotalAllocatedBytes.cmd #119167

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
2 6 21

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabarch-arm32area-NativeAOT-coreclrblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'os-linuxLinux OS (any supported distro)untriagedNew issue has not been triaged by the area owner

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions