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

Only keep track of recently used stacks in memory + unified storage #2592

Draft
wants to merge 45 commits into
base: staging
Choose a base branch
from

Conversation

vicsn
Copy link
Collaborator

@vicsn vicsn commented Jan 11, 2025

Motivation

Combines #2591 + #2590 to see if we can make CI happy.

Remaining issues:

  • Clippy
  • test_get_block and test_load_unchecked expect different metadata.
  • SIGKILL for ledger-with-rocksdb and synthesizer (also on another PR, even with --test-threads=1).
  • synthesizer-integration because of test_rand.aleo/rand_chacha_check, which internal state changed?

ljedrz and others added 30 commits January 10, 2025 15:03
This should - as far as we know - eliminate unbounded memory growth.
To avoid memory leaks, we only evict "root" stacks from the cache.
This should - as far as we know - eliminate unbounded memory growth.
To avoid memory leaks, we only evict "root" stacks from the cache.
Co-authored-by: ljedrz <[email protected]>
Signed-off-by: vicsn <[email protected]>
Co-authored-by: ljedrz <[email protected]>
Signed-off-by: vicsn <[email protected]>
Co-authored-by: ljedrz <[email protected]>
Signed-off-by: vicsn <[email protected]>
Co-authored-by: ljedrz <[email protected]>
Signed-off-by: vicsn <[email protected]>
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

Successfully merging this pull request may close these issues.

2 participants