src/gc/windows/gcenv.windows.cpp
size_t GCToOSInterface::GetVirtualMemoryLimit()
{
    MEMORYSTATUSEX memStatus;
    GetProcessMemoryLoad(&memStatus);
    assert(memStatus.ullAvailVirtual != 0);
    return (size_t)memStatus.ullAvailVirtual;
}
// Return the size of the user-mode portion of the virtual address space of this process.
// Return:
//  non zero if it has succeeded, 0 if it has failed
Return the size of the user-mode portion of the virtual address space of this process.
Return:
non zero if it has succeeded, 0 if it has failed
Return the size of the user - mode portion of the virtual address space of this process . Return : non zero if it has succeeded 0 if it has failed
size_t GCToOSInterface::GetVirtualMemoryLimit()
{
    MEMORYSTATUSEX memStatus;
    GetProcessMemoryLoad(&memStatus);
    assert(memStatus.ullAvailVirtual != 0);
    return (size_t)memStatus.ullAvailVirtual;
}
size_t GCToOSInterface :: GetVirtualMemoryLimit ( ) { MEMORYSTATUSEX memStatus ; GetProcessMemoryLoad ( & memStatus ) ; assert ( memStatus . ullAvailVirtual != 0 ) ; return ( size_t ) memStatus . ullAvailVirtual ; }
Return the size of the user-mode portion of the virtual address space of this process.
Return the size of the user - mode portion of the virtual address space of this process .