rocksdb-sharp icon indicating copy to clipboard operation
rocksdb-sharp copied to clipboard

Limiting unmanaged memory consumption

Open Havret opened this issue 4 years ago • 1 comments

Is there any way to restrict the unmanaged memory consumption of RocksDb? I'm putting about 2.1GB of data to RocksDb which results in consumption of 1.5GB of unmanaged memory. I found that there are some options available in the native lib, but I don't see them being exposed in C# wrapper.

Havret avatar Jun 21 '20 18:06 Havret

You can set options regardless of whether the "C# layer" allows it by using the set option API. That should let you control memory usage

jbayardo avatar Jun 24 '20 17:06 jbayardo