tecbot / gorocksdb

gorocksdb is a Go wrapper for RocksDB

Home Page:http://rocksdb.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't use strict_capacity_limit option

tommyblue opened this issue · comments

As mentioned in the rocksdb wiki, LRU Cache accepts some options.
As we are facing OOMs, the strict_capacity_limit seems a good option to use, but the gorocksdb.NewLRUCache only accepts the cache size.
Is there another way to set options? It would be possible to add it?
Thanks