element-hq / element-hq/synapse
Handling state_ids responses loads huge amounts of events into memory at once, causing OOMs
Open
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
Assessment
This issue has not been assessed yet.