Replaying millions of events randomly causes a memory corruption, and I propose a pull request. #508
Replies: 1 comment
-
Fixed in #509 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First of all, thank you so much for this package, it helped us tremendously for reports and tracking changes.
Lately, I had to replay a set of projectors, and we had around 3 million events to replay, but suddenly, random memory corruptions started to happen.
I tried everything at the time, from disabling the zend allocator to changing the memory limits and even updating/downgrading php, but nothing changed until I decided to update the Projectionist and StoredEventRepository to use
chunk
instead of just retrieving the models (event with aLazyCollection
), but I don't know if I should just put up a pull request before discussing it with you.Beta Was this translation helpful? Give feedback.
All reactions