[BUG.FIX]adapt interm result scanner mem limit to tmp file block size

This commit is contained in:
Tyshawn
2022-04-01 10:36:56 +08:00
committed by LINxiansheng
parent f509075897
commit b47ed7f236

View File

@ -31,7 +31,8 @@ public:
// before interm result add to manager.
static const int64_t SCANNER_CAPACITY = 256L << 10; // 256K
static const int64_t SCANNER_MEM_LIMIT = 8 << 20; // 8MB
// adapt to block size in tmp file.
static const int64_t SCANNER_MEM_LIMIT = (8 << 20) - (32 << 10); // 8MB - 32K
ObIntermResultPool();
virtual ~ObIntermResultPool();