Description
When observing a large commit like a content import, the returned EventIterator keeps references to events that have already been consumed, leading to excessive memory use.
To fix this, the iterator should use a data structure that allows already processed events to be garbage-collected.