facebook / facebook/rocksdb

Memory is not reclaimed even after closing the DB

Open
#11,983 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
32.1k
Forks
6.9k
Avg merge
32m
Merged PRs (30d)
1

Description

RocksDB 8.5.4 (RocksDBJni)

Hi, I'm using RocksDB for a read-heavy workload. After the reading is done, I close the rocksDB connection from Java by calling db.close()

Before this, I make sure to close all the RocksObjects like column family handles, descriptors, cache etc

But, even after closing the DB, my memory footprint remains the same. It's only reclaimed when my JVM shutdowns.

Could someone please help me understand what am I missing here?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.