We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 275917a commit 419328aCopy full SHA for 419328a
src/MemoryPagesPool.cxx
@@ -252,7 +252,7 @@ std::shared_ptr<DataBlockContainer> MemoryPagesPool::getNewDataBlockContainer(vo
252
DataBlock* b = (DataBlock*)newPage;
253
b->header = defaultDataBlockHeader;
254
b->header.dataSize = getDataBlockMaxSize();
255
- b->header.memorySize = getDataBlockMaxSize();
+ b->header.memorySize = getPageSize();
256
b->data = &(((char*)b)[headerReservedSpace]);
257
258
// define a function to put it back in pool after use
0 commit comments