Skip to content

Increased memory consumption after upgrading to .NET 7 #84497

@mihaimyh

Description

@mihaimyh

After upgrading my applications to the latest .NET version (7.0.202), I have noticed a significant increase in memory consumption on Linux (RHEL7). Both my apps upgraded to .NET7 are self-contained.

Applying the fix described at #79633 (comment) (setting DOTNET_GCName=libclrgc.so) solved my problem and the memory consumption got reduced to the .NET 6 levels.

Please guide on how to collect traces from RHEL from both my applications I've upgraded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions