Skip to content

chore: define local cache size and memory limits#3011

Open
thecristen wants to merge 1 commit intomainfrom
cbj/local-cache-max
Open

chore: define local cache size and memory limits#3011
thecristen wants to merge 1 commit intomainfrom
cbj/local-cache-max

Conversation

@thecristen
Copy link
Collaborator

Scope

Inspired by an earlier OutOfMemory error briefly impacting prod this morning, and the discussions which arose from it.

Implementation

As per Nebulex's documentation we can adjust the local cache configuration (which caches data in-memory). This change adds two values which were previously unset (the default value for each is nil which meant the cleanup check to release memory was not performed)

  • :allocated_memory - For reference, our containers have 17_179_900_000 bytes so we could probably increase our allocation a bit, but I kind of what to see what happens here...
  • :max_size is the maximum number of cached entries

How to test

🚀 ???

@thecristen thecristen requested a review from a team as a code owner March 12, 2026 18:02
@thecristen thecristen requested a review from joshlarson March 12, 2026 18:02
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.

1 participant