element-hq / element-hq/synapse

Handling state_ids responses loads huge amounts of events into memory at once, causing OOMs

Open
#6,597 0 comments 0 reactions 0 assignees View on GitHub
A-Federation A-Performance O-Uncommon S-Minor T-Defect
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

This issue has been migrated from [#6597](https://github.com/matrix-org/synapse/issues/6597).

---

For example: the response to `matrix://matrix.org/_matrix/federation/v1/state_ids/%21jWRVQAlVGjigKCRGwS%3Amatrix.org?event_id=%241577162865947686RYsuB%3Amatrix.org` includes an auth chain with 22327 events. surely there can't be that many events in `$1577162865947686RYsuB:matrix.org`'s auth chain?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.