1
0

Limit the size of cListAllocationPool's free list

This commit is contained in:
peterbell10
2019-02-19 10:22:08 +00:00
parent 6c3dd41717
commit 7d512f2191
4 changed files with 31 additions and 21 deletions

View File

@@ -39,7 +39,7 @@ cChunkMap::cChunkMap(cWorld * a_World) :
m_World(a_World),
m_Pool(
cpp14::make_unique<cListAllocationPool<cChunkData::sChunkSection>>(
cpp14::make_unique<cStarvationCallbacks>(), 1600u
cpp14::make_unique<cStarvationCallbacks>(), 1600u, 5000u
)
)
{