-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is the difference between GetTotalAllocatedBytes and GetTotalMemory? #10776
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
1 similar comment
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
Tagging subscribers to this area: @dotnet/area-system-memory |
Tagging subscribers to this area: @dotnet/area-system-runtime |
We don't compare all similar methods and types in our docs, as this would greatly increase their size. Imagine us comparing list vs array and so on. When you go to https://copilot.microsoft.com/ and ask this question you get a nice answer: |
Type of issue
Missing information
Description
What is the difference between GetTotalAllocatedBytes and GetTotalMemory? Descriptions seem similar, so why isn't this documented?
Page URL
https://learn.microsoft.com/en-us/dotnet/api/system.gc.gettotalallocatedbytes?view=net-9.0
Content source URL
https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System/GC.xml
Document Version Independent Id
09a1981d-348f-e7e6-a1e4-1a0304137acb
Article author
@dotnet-bot
The text was updated successfully, but these errors were encountered: