Skip to content

[ci-scan] Known Build Error: CrossGen2 OOM on HugeArray1.dll (windows x86 R2R_CG2) #128109

@github-actions

Description

@github-actions

Caution

Security scanning requires review for CI Outer-Loop Failure Scanner

Details

The threat detection results could not be parsed. The workflow output should be reviewed before merging.

Review the workflow run logs for details.

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1417649
Build error leg or test failing: coreclr Pri1 Runtime Tests Run R2R_CG2 windows x86 checked-jit64_3

Error Message

{
  "ErrorMessage": ["HugeArray1.dll", "System.OutOfMemoryException: Insufficient memory to continue the execution of the program."],
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Tracking: #127674

Failure details:
CrossGen2 runs out of memory when compiling HugeArray1.dll (a test with a huge array) on windows x86 (32-bit process, limited address space). The OOM occurs in ObjectWriter.EmitChecksumsMemoryStream.set_Capacity.

Emitting R2R PE file: C:\h\w\ACF70973\w\BCB70A3A\e\JIT\jit64\jit64_3\HugeArray1.dll
Unhandled exception. System.OutOfMemoryException: Insufficient memory to continue the execution of the program.
   at System.IO.MemoryStream.set_Capacity(Int32)
   at ILCompiler.ObjectWriter.ObjectWriter.EmitChecksums(Stream, List`1)
   at ILCompiler.ObjectWriter.ObjectWriter.EmitObject(Stream, IReadOnlyCollection`1, IObjectDumper, Logger)
   at ILCompiler.DependencyAnalysis.ReadyToRunObjectWriter.EmitReadyToRunObjects(ReadyToRunContainerFormat, Logger)
Crossgen2 failed with exitcode - -1073740791

Affected legs:

  • runtime-coreclr outerloop (def 108): R2R_CG2 windows x86 Checked @ Windows.10.Amd64.Open
  • runtime-coreclr r2r (def 120): R2R-CG2 windows x86 Checked no_tiered_compilation @ Windows.10.Amd64.Open

First build in window: Build 1404860 (tracked in #127674, 2026-05-01). Recurring — also seen in build 1417649 (2026-05-12). 2+ occurrences in scanned window.

Note

🔒 Integrity filter blocked 3 items

The following items were blocked because they don't meet the GitHub integrity level.

  • #85747 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #114222 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #125825 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".

To allow these resources, lower min-integrity in your GitHub frontmatter:

tools:
  github:
    min-integrity: approved  # merged | approved | unapproved | none

Generated by CI Outer-Loop Failure Scanner · ● 95.7M ·

Report

Build Definition Test Pull Request
1418170 dotnet/runtime jit64_3.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
1 1 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabagentic-workflowsblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'untriagedNew issue has not been triaged by the area owner

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions