Skip to content

[NativeAOT] Out of memory reporting on Linux #82337

Closed

Description

@jkotas

Repro

var l = new List<object>();
for (; ; ) l.Add(new object());

Run the native aot compiled binary with with export DOTNET_GCHeapHardLimit=2000000 set

Actual result

Aborted

Expected result

Process is terminating due to OutOfMemoryException

(Reported by partner team.)

Activity

  1. added this to the 8.0.0 milestone on Feb 18, 2023
  2. modified the milestones: 8.0.0, 9.0.0 on Aug 9, 2023
  3. modified the milestones: 9.0.0, 10.0.0 on Aug 14, 2024
  4. modified the milestones: 10.0.0, 11.0.0 on Jul 28, 2025
  5. added
    in-prThere is an active PR which will close this issue when it is merged
    on Mar 8, 2026
  6. added a commit that references this issue on Jun 8, 2026
    63e28ea
  7. locked and limited conversation to collaborators on Jul 9, 2026
  8. added a commit that references this issue on Jul 15, 2026
    38c0a39
  9. added a commit that references this issue on Jul 22, 2026
    b680860
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-NativeAOT-coreclrin-prThere is an active PR which will close this issue when it is merged

Type

No type

Projects

  • Status
    No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions