Bump parallel catchup memory limit to 28Gi - #419
Merged
sisuresh merged 1 commit intoJul 31, 2026
Conversation
Raise the per-worker stellar-core memory limit used by parallel catchup from 24000Mi (23.4 GiB) to 28672Mi (28 GiB). The memory request is unchanged at 8192Mi. Ranges at the tip of pubnet peak close to the old limit, and that headroom keeps shrinking as live contract count and bucket state grow. Peak residency during catchup comes mainly from two places: the Soroban module cache, which holds compiled code for every live contract once per protocol version in [REUSABLE_SOROBAN_MODULE_CACHE_PROTOCOL_VERSION, CURRENT_LEDGER_PROTOCOL_VERSION], and bucket indexes, where buckets below BUCKETLIST_DB_INDEX_CUTOFF are held entirely in memory and larger ones keep a resident page index. 28672Mi is a whole number of Gi, so ResourceQuantity canonicalizes it to "28Gi" in the pod spec instead of the previous "24000Mi"; the stale "24000MB" comment is corrected at the same time.
Contributor
There was a problem hiding this comment.
Pull request overview
Raises parallel catchup worker memory headroom for pubnet workloads.
Changes:
- Increases the memory limit from 24,000 MiB to 28,672 MiB (28 GiB).
- Updates the accompanying resource comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
sisuresh
approved these changes
Jul 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Raise the parallel catchup worker memory limit from
24000Mi(23.4 GiB) to28672Mi(28 GiB).Why
Ranges at the tip of pubnet now peak close to the old limit, leaving too little headroom.