Usage of memory is normal on both malloc and jemalloc
Actual behavior
The usage of memory is 25GB when use default malloc, but is 13GB when use jemalloc.
Memory statistics: block cache: 8.5GB, memtable: 1.5GB, filter/index: 1GB, pinned memory : < 1MB
It seems usage of memory is only normal on jemalloc.
Steps to reproduce the behavior
OS: Linux version 4.15.0-45-generic (buildd@lgw01-amd64-031) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3))
Rocksdb version 5.18.3
Data size is 93G with lz4 compression
Expected behavior
Usage of memory is normal on both malloc and jemalloc
Actual behavior
The usage of memory is 25GB when use default malloc, but is 13GB when use jemalloc. Memory statistics: block cache: 8.5GB, memtable: 1.5GB, filter/index: 1GB, pinned memory : < 1MB It seems usage of memory is only normal on jemalloc.
Steps to reproduce the behavior
OS: Linux version 4.15.0-45-generic (buildd@lgw01-amd64-031) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) Rocksdb version 5.18.3 Data size is 93G with lz4 compression
config: