tecbot / gorocksdb

gorocksdb is a Go wrapper for RocksDB
http://rocksdb.org
MIT License
940 stars 269 forks source link

Can't use strict_capacity_limit option #204

Open tommyblue opened 3 years ago

tommyblue commented 3 years ago

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