Skip to content

Commit b5b09cc

Browse files
committed
Fixed documentation for MemoryLoadBytes
1 parent 78d872d commit b5b09cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xml/System/GCMemoryInfo.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ The memory after `OBJ_D` is not considered part of the `FragmentedBytes` but is
316316
<summary>Gets the physical memory load when the last garbage collection occurred.</summary>
317317
<value>The physical memory load, in bytes, when the last garbage collection occurred.</value>
318318
<remarks>
319-
<para>On Windows, memory load is a field in the [MEMORYSTATUS structure](/windows/win32/api/winbase/ns-winbase-memorystatus). It's a number between 0 and 100 that specifies the approximate percentage of physical memory that's in use (0 indicates no memory use and 100 indicates full memory use). Corresponding information is given on other operating systems.</para>
319+
<para>On Windows, memory load is a field in the [MEMORYSTATUS structure](https://learn.microsoft.com/en-us/windows/win32/api/winbase/ns-winbase-memorystatus) in bytes that denotes the physical memory that's in use if the process isn't running in a container with a memory limit. Otherwise, it's either the cgroup's physical memory in use or the current process' working set if we are on Windows or somehow can't obtain it from Linux. Corresponding information is given on other operating systems.</para>
320320
<para>Data is only brought into physical memory on first touch. If you allocated a big object but haven't actually used it, most of its memory isn't in physical memory. In this case, the allocation won't affect the memory load significantly.</para>
321321
</remarks>
322322
</Docs>

0 commit comments

Comments
 (0)