From 38a829c387aaba3984ee8df22632eec4c1b9c196 Mon Sep 17 00:00:00 2001 From: Sophie <84560950+Sophie-Xie@users.noreply.github.com> Date: Mon, 3 Jul 2023 16:07:42 +0800 Subject: [PATCH] cherry pick from nebula: fix traverse build path memory tracker (#5619) (#2880) fix traverse build path memory tracker (#5619) Co-authored-by: jimingquan --- src/graph/executor/query/TraverseExecutor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/graph/executor/query/TraverseExecutor.cpp b/src/graph/executor/query/TraverseExecutor.cpp index 763468f5618..35ddd1c6063 100644 --- a/src/graph/executor/query/TraverseExecutor.cpp +++ b/src/graph/executor/query/TraverseExecutor.cpp @@ -480,6 +480,7 @@ folly::Future TraverseExecutor::buildPathMultiJobs(size_t minStep, size_ std::vector TraverseExecutor::buildPath(const Value& initVertex, size_t minStep, size_t maxStep) { + memory::MemoryCheckGuard guard; auto vidIter = adjList_.find(initVertex); if (vidIter == adjList_.end()) { return std::vector();