Original issue 225 created by zhaoqi1861 on 2014-02-12T08:01:33.000Z:
What steps will reproduce the problem?
Db is started in the main thread. A LRUCache is assigned to the db.
Start a new thread, traverse the db by using iterator. So data are loaded into lrucache. This thread does not exit.
do step 2 repeatlly.
What is the expected output? What do you see instead?
Memory usage should stop increase after the first time iterating db.
Instead, memory usage increase all the time.
What version of the product are you using? On what operating system?
I'm using leveldb 1.14.0 on centos
Please provide any additional information below.
Attached is a test code to reproduce this problem
Original issue 225 created by zhaoqi1861 on 2014-02-12T08:01:33.000Z:
What steps will reproduce the problem?
What is the expected output? What do you see instead? Memory usage should stop increase after the first time iterating db. Instead, memory usage increase all the time.
What version of the product are you using? On what operating system? I'm using leveldb 1.14.0 on centos
Please provide any additional information below. Attached is a test code to reproduce this problem