Use PoolResource2 in QueryAllocator
This commit is contained in:
parent
e44bf85576
commit
bdf5d7633e
@ -109,7 +109,8 @@ struct QueryAllocator {
|
|||||||
|
|
||||||
#ifndef MG_MEMORY_PROFILE
|
#ifndef MG_MEMORY_PROFILE
|
||||||
memgraph::utils::MonotonicBufferResource monotonic{kMonotonicInitialSize, upstream_resource()};
|
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
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user