dotnet / dotnet/dotnet-api-docs
Is memory load bytes a count of bytes or a ratio
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
### 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
Contributor guide
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.
Assessment
- Tech stack
- csharp
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 78/100