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

Increase archive buffer memory limit #2428

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

frederikrothenberger
Copy link
Member

@frederikrothenberger frederikrothenberger commented Apr 15, 2024

This PR increases the memory limit for the archive buffer.


🟡 Some screens were changed

This PR increases the memory limit for the archive buffer.
@@ -231,7 +231,11 @@ impl<M: Memory + Clone> Storage<M> {
// A single archive entry takes on average 476 bytes of space.
// To have space for 10_000 entries (accounting for ~10% overhead) we need 82 pages or ~5 MB.
// Since the memory manager allocates memory in buckets of 128 pages, we use a full bucket here.
let archive_buffer_memory = single_bucket_memory(&memory_manager, ARCHIVE_BUFFER_MEMORY_ID);
// XX: Clean-up after incident
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you create a Jira issue?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not yet. Could you create one?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done: https://dfinity.atlassian.net/browse/GIX-2428

I'm not sure I described the issue correctly. Feel free to change it.

@frederikrothenberger frederikrothenberger added this pull request to the merge queue Apr 15, 2024
Merged via the queue into main with commit 9390be1 Apr 15, 2024
65 checks passed
@frederikrothenberger frederikrothenberger deleted the frederik/increase-incident-memory-limit branch April 15, 2024 07:25
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.

None yet

2 participants