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

windows: resizable nostrdb, 16gb issue #699

Open
jb55 opened this issue Feb 3, 2025 · 0 comments
Open

windows: resizable nostrdb, 16gb issue #699

jb55 opened this issue Feb 3, 2025 · 0 comments

Comments

@jb55
Copy link
Contributor

jb55 commented Feb 3, 2025

Right now we set a 16GB nostrdb mapsize on windows. Unfortunately do to the way lmdb works on windows, it allocates a file that is 16GB in size instead of creating a virtual memory map that expands in size.

Monero solved this somehow so we should look at how they do it. I think it involves resizing the database occasionally when it gets close to the limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants