[CP] Reduce tmp file block cache memory usage.

This commit is contained in:
obdev
2022-08-12 17:11:51 +08:00
committed by wangzelin.wzl
parent c6ce32929d
commit 5d3d5c7cb7
5 changed files with 95 additions and 56 deletions

View File

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