Skip to content

Commit 419328a

Browse files
committed
memorysize = page size
1 parent 275917a commit 419328a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MemoryPagesPool.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ std::shared_ptr<DataBlockContainer> MemoryPagesPool::getNewDataBlockContainer(vo
252252
DataBlock* b = (DataBlock*)newPage;
253253
b->header = defaultDataBlockHeader;
254254
b->header.dataSize = getDataBlockMaxSize();
255-
b->header.memorySize = getDataBlockMaxSize();
255+
b->header.memorySize = getPageSize();
256256
b->data = &(((char*)b)[headerReservedSpace]);
257257

258258
// define a function to put it back in pool after use

0 commit comments

Comments
 (0)