Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
87
uint64_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
main
Method · 0.85
processConfig
Method · 0.85
calculateMemorySoftLimit
Function · 0.85
purgeDirtyPagesThread
Method · 0.85
runThread
Method · 0.85
initializeBackgroundExecutorsIfNeeded
Method · 0.85
Calls
1
getMemoryAmountOrZero
Function · 0.85
Tested by
no test coverage detected