Skip to content
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

Limiting unmanaged memory consumption #79

Open
Havret opened this issue Jun 21, 2020 · 1 comment
Open

Limiting unmanaged memory consumption #79

Havret opened this issue Jun 21, 2020 · 1 comment

Comments

@Havret
Copy link

Havret commented Jun 21, 2020

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.

@jbayardo
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants