Skip to content

Commit

Permalink
[GLUTEN-4106][VL] Initialize velox global memory manager (#4111)
Browse files Browse the repository at this point in the history
  • Loading branch information
ulysses-you authored Dec 20, 2023
1 parent 4775c7c commit 6de797b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cpp/velox/compute/VeloxBackend.cc
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,9 @@ void VeloxBackend::init(const std::unordered_map<std::string, std::string>& conf

initUdf(veloxcfg);
registerSparkTokenizer();

// initialize the global memory manager for current process
facebook::velox::memory::MemoryManager::initialize({});
}

facebook::velox::cache::AsyncDataCache* VeloxBackend::getAsyncDataCache() const {
Expand Down

0 comments on commit 6de797b

Please sign in to comment.