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

Reduce memory overhead of _deserialize_from_store #210

Open
bjester opened this issue Jan 30, 2024 · 0 comments
Open

Reduce memory overhead of _deserialize_from_store #210

bjester opened this issue Jan 30, 2024 · 0 comments

Comments

@bjester
Copy link
Member

bjester commented Jan 30, 2024

Observed behavior

When syncing large amounts of data and upon successful transfer, that data is deserialized into the store (_deserialize_from_store), memory usage often spikes.

Expected behavior

The behavior of _deserialize_from_store should reduce its memory usage by loading only the necessary data / models into memory.

User-facing consequences

In some online deployments with strict resource constraints, OOM killer may kill the process that is handling the deserialization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant