-
Notifications
You must be signed in to change notification settings - Fork 646
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enhancement: high memory usage of rosedb #236
Comments
There seems to be a problem with the test tool.
|
On the other hand, I guess the memory usage is high because the Batch is created every time, and I see that the previous issue is solving this problem. |
Thanks, but I wonder if there is something else causing this problem. BTW, you can add an option |
In conclusion, I have check and optimize all these memory cost code except Index part. Because the IRadix will take too much memory after my tests, so we can use more memory effecient data structures like BTree or Adaptive Radix Tree, we can do it if there are some users give us feedback. And I am also exploring some on-disk indexes, like hashtable, lotusdb will also have more choices of index if we achieve this. |
When I tested the kv stores, I found that rosedb will take very high memory usage, I think we can investgate why this will happen.
step to reproduce the problem:
then test some kv stores:
In conclusion, we can see that rosedb has good read/write performance, but
sys mem
is also the highest, the file size is 391MB, but thesys mem
is 2GB, which seems unreasonable.The text was updated successfully, but these errors were encountered: