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

whitedb doesn't release shared memory on Windows platform #30

Open
priitj opened this issue Dec 8, 2017 · 2 comments
Open

whitedb doesn't release shared memory on Windows platform #30

priitj opened this issue Dec 8, 2017 · 2 comments
Labels

Comments

@priitj
Copy link
Owner

priitj commented Dec 8, 2017

Applications may need to release some of the shared memory while running.

Currently this is not implemented via whitedb API.

@priitj priitj added the bug label Dec 8, 2017
@rohanbabu
Copy link

Does this mean that the size of the DB will only grow and that the wg_delete_record(void* db, void *rec) function does not reduce the size of the DB even if it successful?

@priitj
Copy link
Owner Author

priitj commented Jan 10, 2019

Nope, this issue is about wg_detach_database()/wg_delete_database().

Records are allocated internally by whitedb, creating or deleting them does not change the size of the shared memory area.

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

No branches or pull requests

2 participants