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();