learningequality / learningequality/morango
Reduce memory overhead of `_deserialize_from_store`
Open
@ozer550 is already working on this.
Since Mar 23, 2026.
DEV: backend
P1 - important
TAG: performance
- Dominant language
- Python
- Stars
- 15
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.