Skip to content

Is memory load bytes a count of bytes or a ratio #13015

Description

@EricGarnier

Type of issue

Missing information

Description

The article discribes the property as "The physical memory load, in bytes," So it is a number of bytes.

But the texte explains how it is computed by :"MemoryLoadBytes is obtained from reading the MemAvailable field from /proc/meminfo divided by the total physical memory", So it is a ratio, presumably less than one.

But both sentences cannot be true together. And as the property type is long, probably the ratio explanation is plain wrong..

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.gcmemoryinfo.memoryloadbytes?view=net-10.0

Content source URL

https://github.com/dotnet/dotnet-api-docs-temp/blob/live/xml/System/GCMemoryInfo.xml

Document Version Independent Id

7e72fc3e-cdb2-f604-3d89-78e6e75819b3

Platform Id

e75a8ea8-855e-8665-e6e9-ba3e54dd11f9

Article author

@dotnet-bot

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