Clear visitedCollections
Visited collections are cleared only in commit(). Commit clears up only if it actually has something to do. Processing large amounts of records without changing them cause visitedCollections to grow without any way of clearing.
This commit is contained in:
parent
a39ceb3159
commit
3340234785
1 changed files with 1 additions and 0 deletions
|
@ -2356,6 +2356,7 @@ class UnitOfWork implements PropertyChangedListener
|
|||
$this->collectionUpdates =
|
||||
$this->extraUpdates =
|
||||
$this->readOnlyObjects =
|
||||
$this->visitedCollections =
|
||||
$this->orphanRemovals = array();
|
||||
|
||||
if ($this->commitOrderCalculator !== null) {
|
||||
|
|
Loading…
Add table
Reference in a new issue