diff --git a/indra/llcommon/llmemory.cpp b/indra/llcommon/llmemory.cpp index c296112a4c..ced68a5212 100644 --- a/indra/llcommon/llmemory.cpp +++ b/indra/llcommon/llmemory.cpp @@ -154,7 +154,7 @@ void LLMemory::updateMemoryInfo() // align MemInfo across platforms // sAvailPhysicalMemInKB = U32Bytes(vmstat.free_count * page_size); // sMaxPhysicalMemInKB = LLMemoryInfo::getHardwareMemSize(); - avail_phys = U32Bytes(vmstat.free_count * page_size); + avail_phys = U32Bytes( (vmstat.free_count + vmstat.inactive_count) * page_size); sMaxHeapSizeInKB = LLMemoryInfo::getHardwareMemSize(); // }