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

fix high memory usage when bundling logserver image #585

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

kajes
Copy link
Contributor

@kajes kajes commented Sep 4, 2024

When upgrading a LogServer, the prepare includes downloading and bundling up the LogServer image for upload to the LogServer.

The bundling would store temporary files in memory until all files had been written to the bundle. This results in very high memory usage during the process.

This PR fixes the high memory usage issue by storing the files that should be bundled in temporary files on disk until they are written to the bundle. This decreases the memory usage significantly.

@kajes kajes added the bug Something isn't working label Sep 6, 2024
@kajes kajes merged commit a07d79e into main Sep 10, 2024
3 checks passed
@kajes kajes deleted the SA-24372-high-memory-usage branch September 10, 2024 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

2 participants