Skip to content

[ci-scan] Build break: Crossgen2 OutOfMemoryException compiling HugeArray1.dll on R2R windows x86 #128194

@github-actions

Description

@github-actions

Build Information

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

Error Details

Crossgen2 crashes with OutOfMemoryException when compiling HugeArray1.dll during R2R compilation on Windows x86 (32-bit address space limitation). The work item jit64_3 fails in the runtime-coreclr r2r pipeline (definition 120).

Emitting R2R PE file: C:\h\w\A50F0909\w\A15D08B8\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 System.IO.MemoryStream.EnsureCapacity(Int32)
   at System.IO.MemoryStream.Write(Byte[], Int32, Int32)
   at System.IO.Stream.CopyTo(Stream, 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

4 consecutive failures (May 11–14). Last succeeded May 10 (build 1414740).

Error Message

{
  "ErrorMessage": "",
  "BuildRetry": false,
  "ErrorPattern": "HugeArray1\\.dll[\\s\\S]*?System\\.OutOfMemoryException",
  "ExcludeConsoleLog": false
}

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

Report

Summary

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

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1420097
Error message validated: [Emitting R2R PE file: HugeArray1.dll]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 5/15/2026 11:21:29 AM UTC

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1420097
Error message validated: [HugeArray1\.dll[\s\S]*?System\.OutOfMemoryException]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 5/15/2026 11:31:13 AM UTC

Metadata

Metadata

Assignees

No one assigned

    Labels

    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