Use PoolResource2 in QueryAllocator

This commit is contained in:
Gareth Lloyd 2024-03-08 15:46:00 +00:00
parent e44bf85576
commit bdf5d7633e

View File

@ -109,7 +109,8 @@ struct QueryAllocator {
#ifndef MG_MEMORY_PROFILE
memgraph::utils::MonotonicBufferResource monotonic{kMonotonicInitialSize, upstream_resource()};
memgraph::utils::PoolResource pool{kPoolBlockPerChunk, kPoolMaxBlockSize, &monotonic, upstream_resource()};
memgraph::utils::PoolResource2 pool{kPoolBlockPerChunk, &monotonic, upstream_resource()};
// memgraph::utils::PoolResource pool{kPoolBlockPerChunk, kPoolMaxBlockSize, &monotonic, upstream_resource()};
#endif
};