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

reduce memory on leveldb #209

Open
decryp2kanon opened this issue Feb 7, 2023 · 4 comments
Open

reduce memory on leveldb #209

decryp2kanon opened this issue Feb 7, 2023 · 4 comments

Comments

@decryp2kanon
Copy link
Contributor

decryp2kanon commented Feb 7, 2023

// Number of open files that can be used by the DB. You may need to
// increase this if your database has a large working set (budget
// one open file per 2MB of working set).
//
// Default: 1000
int max_open_files;

Dave pointed this out. His suggestion is 256

@Overdrive5
Copy link
Contributor

I will post a formal PR after some more testing.

@decryp2kanon
Copy link
Contributor Author

decryp2kanon commented Feb 13, 2023

chatGPT told

image

image

@Overdrive5
Copy link
Contributor

If you wish, I can experiment with these variables to see how much impact they have. My personal goal was to get the qt wallet footprint under 4GB. Thereby giving it wider acceptance by users.

@Overdrive5
Copy link
Contributor

Well....
I searched for:
DEFAULT_DB_CACHE_SIZE
m_cache_size

in both wallet code base and found nothing unfortunately.

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