Skip to content

Multiple 'System.OutOfMemoryException' errors in .NET 7 #78959

@theolivenbaum

Description

@theolivenbaum

I'm seeing an issue very similar to this one when running a memory-heavy app on a linux container with memory limit >128GB RAM.

The app started throwing random OutOfMemoryException in many unexpected places since we migrated to net70, while under no memory pressure (usually with more than 30% free memory).

I can see the original issue was closed, but I'm not sure if it was fixed on the final net70 release or if the suggestion to set COMPlus_GCRegionRange=10700000000 is the expected workaround.

Metadata

Metadata

Assignees

Labels

area-GC-coreclrneeds-author-actionAn issue or pull request that requires more info or actions from the author.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions