15 #ifndef IMPALA_UTIL_MEM_INFO_H
16 #define IMPALA_UTIL_MEM_INFO_H
19 #include <boost/cstdint.hpp>
static int32_t vm_overcommit_
Indicating the kernel overcommit settings.
static int64_t physical_mem()
Get total physical memory in bytes (ignores cgroups memory limits).
static void Init()
Initialize MemInfo.
static int64_t physical_mem_
static int32_t vm_overcommit()
Returns the systems memory overcommit settings, typically the values are 0,1, and 2...
static std::string DebugString()
static void ParseOvercommit()
static int64_t commit_limit_
If overcommit is turned off the maximum allocatable memory.
static int64_t commit_limit()