diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2024-11-14 09:02:18 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2024-11-14 09:10:46 +0300 |
commit | 8d4c37b7de13075dfe40beb41c1f807d4754de00 (patch) | |
tree | f7c904a89c9d0b1c8e4eca277aebfbc17a324095 | |
parent | be3f129280eabea23fd7feb5ab9637418d8fce34 (diff) | |
download | ydb-8d4c37b7de13075dfe40beb41c1f807d4754de00.tar.gz |
Intermediate changes
commit_hash:e560949dcbd91a6965f7c817b5abd0eaee251722
-rw-r--r-- | yt/yt/library/oom/tcmalloc_memory_limit_handler.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/yt/yt/library/oom/tcmalloc_memory_limit_handler.cpp b/yt/yt/library/oom/tcmalloc_memory_limit_handler.cpp index 862070536e..ca624aaea0 100644 --- a/yt/yt/library/oom/tcmalloc_memory_limit_handler.cpp +++ b/yt/yt/library/oom/tcmalloc_memory_limit_handler.cpp @@ -182,6 +182,7 @@ private: auto childPid = fork(); if (childPid == 0) { + NFs::MakeDirectoryRecursive(Options_.HeapDumpDirectory); SetupMemoryProfileTimeout(Options_.Timeout.Seconds()); CollectAndDumpMemoryProfile(profilePaths->HeapProfilePath, tcmalloc::ProfileType::kHeap); CollectAndDumpMemoryProfile(profilePaths->PeakProfilePath, tcmalloc::ProfileType::kPeakHeap); |