mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-23 18:20:50 +00:00
Add sampling memory profiler
This commit is contained in:
parent
293ae88e7f
commit
db3241ccc7
@ -86,7 +86,7 @@ void ThreadStatus::setupState(const ThreadGroupStatusPtr & thread_group_)
|
||||
|
||||
const Settings & settings = query_context->getSettingsRef();
|
||||
if (settings.memory_profiler_step < UInt64(untracked_memory_limit))
|
||||
untracked_memory = settings.memory_profiler_step;
|
||||
untracked_memory_limit = settings.memory_profiler_step;
|
||||
|
||||
#if defined(OS_LINUX)
|
||||
/// Set "nice" value if required.
|
||||
|
Loading…
Reference in New Issue
Block a user