MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / getMemoryAmount

Function getMemoryAmount

base/base/getMemoryAmount.cpp:87–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85
86
87uint64_t getMemoryAmount()
88{
89 auto res = getMemoryAmountOrZero();
90 if (!res)
91 throw std::runtime_error("Cannot determine memory amount");
92 return res;
93}

Callers 6

mainMethod · 0.85
processConfigMethod · 0.85
calculateMemorySoftLimitFunction · 0.85
purgeDirtyPagesThreadMethod · 0.85
runThreadMethod · 0.85

Calls 1

getMemoryAmountOrZeroFunction · 0.85

Tested by

no test coverage detected