Skip to content

Commit 3875124

Browse files
authored
Clean-up MKQL allocator page cache (#15102)
1 parent 5e17387 commit 3875124

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ydb/core/base/pool_stats_collector.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ class TStatsCollectingActor : public NActors::TStatsCollectingActor {
3737
}
3838

3939
void Update() {
40+
TAlignedPagePool::DoCleanupGlobalFreeList(1 << 30); // keep 1Gb of cached pages
41+
4042
*TotalBytes = TAlignedPagePool::GetGlobalPagePoolSize();
4143
*TotalMmapped = ::NKikimr::GetTotalMmapedBytes();
4244
*TotalFreeList = ::NKikimr::GetTotalFreeListBytes();

0 commit comments

Comments
 (0)