[CP] Set up caching for large chunks of memory

This commit is contained in:
obdev
2023-06-02 02:49:03 +00:00
committed by ob-robot
parent 1c4a29ea94
commit a84b7a3e75
15 changed files with 472 additions and 104 deletions

View File

@ -225,7 +225,7 @@ TEST_F(TestObjectMgr, TestFragmentWash)
TEST_F(TestObjectMgr, TestSubObjectMgr)
{
AChunkMgr::instance().set_max_chunk_cache_cnt(0);
AChunkMgr::instance().set_max_chunk_cache_size(0);
oceanbase::lib::set_memory_limit(20LL<<30);
int fd = open("alloc_flow_records", O_RDONLY, S_IRWXU | S_IRGRP);
abort_unless(fd > 0);