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

#2098 fix memory leak #2099

Merged
merged 5 commits into from
Feb 12, 2025
Merged

#2098 fix memory leak #2099

merged 5 commits into from
Feb 12, 2025

Conversation

olehnikolaiev
Copy link
Contributor

@olehnikolaiev olehnikolaiev commented Feb 7, 2025

fixes #2098

fixed memory leak in LevelDBSnapManager - remove all LevelDB Snapshot objects before destroying a db object
no memory leak found for skaled built with -DSANITIZE=addrss option after applying the fix

tested on the devnet: load schain with transactions and eth_call, stop one container - skaled should exit gracefully and then restart

@DmytroNazarenko DmytroNazarenko added this to the SKALE 4.0 milestone Feb 7, 2025
@olehnikolaiev olehnikolaiev linked an issue Feb 7, 2025 that may be closed by this pull request
@olehnikolaiev olehnikolaiev marked this pull request as draft February 7, 2025 22:02
@olehnikolaiev olehnikolaiev marked this pull request as ready for review February 11, 2025 17:45
@olehnikolaiev olehnikolaiev merged commit ed2ff59 into v4.0.0 Feb 12, 2025
4 checks passed
@olehnikolaiev olehnikolaiev deleted the bug/2098-fix-memory-leak branch February 12, 2025 21:36
@github-actions github-actions bot locked and limited conversation to collaborators Feb 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix memory leak in database management
3 participants