// at getting that limit, it returns 0.
uint64_t GCToOSInterface::GetRestrictedPhysicalMemoryLimit()
{
// at getting that limit, it returns 0.
uint64_t GCToOSInterface::GetRestrictedPhysicalMemoryLimit()
{
// 0 if it has failed, the real value if it has succeeded
size_t GCToOSInterface::GetCurrentPhysicalMemory()
{
// 0 if it has failed, the real value if it has succeeded
size_t GCToOSInterface::GetCurrentPhysicalMemory()
{
#ifndef FEATURE_PAL
PROCESS_MEMORY_COUNTERS pmc;
if (GCGetProcessMemoryInfo(GetCurrentProcess(), &pmc, sizeof(pmc)))
#ifndef FEATURE_PAL
PROCESS_MEMORY_COUNTERS pmc;
if (GCGetProcessMemoryInfo(GetCurrentProcess(), &pmc, sizeof(pmc)))