Skip to content

Commit 3d3ac63

Browse files
authored
Fix memory exhaustion when recreating duplicates-index (#512)
1 parent ef74144 commit 3d3ac63

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/DuplicatesIndex/DefaultMariaDbDuplicatesIndex.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ public function recreateIndex()
117117

118118
$this->updateDuplicateIndexForCustomer($customer, true);
119119
}
120+
121+
\Pimcore::collectGarbage();
120122
}
121123
}
122124

0 commit comments

Comments
 (0)