From 512d65fac677cb1374536390cdf958fc9a89e634 Mon Sep 17 00:00:00 2001 From: jimingquan Date: Mon, 3 Jul 2023 13:01:49 +0800 Subject: [PATCH] fix traverse build path memory tracker (#5619) --- 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 723e7f7988c..95ad17e27ed 100644 --- a/src/graph/executor/query/TraverseExecutor.cpp +++ b/src/graph/executor/query/TraverseExecutor.cpp @@ -478,6 +478,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();