Is memory load bytes a count of bytes or a ratio

Open Beginner friendly
#13,015 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Active
Tech stack
csharp
Domain
documentation

Research direction

Start with the MemoryLoadBytes entry in System/GCMemoryInfo.xml and compare it with the published API article at the provided Page URL. Verify which description is consistent with the property type and underlying documentation, then update the contradictory wording so the article gives one unambiguous definition.

Written by the indexing model from the issue text.

Description

area-System.Runtime untriaged
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

Dominant language
C#
Stars
950
Forks
1.7k
Avg merge
3d 5h
Merged PRs (30d)
38

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/dotnet-api-docs

All issues in dotnet/dotnet-api-docs

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.