m2.IndexerUrlRewrite
m2.IndexerUrlRewrite copied to clipboard
Prevent memory consumption
Inside $this->generate() method there is code for assign category collection to product. When we have product collection (ie more then 50k products) and for each of them is assign category collection, the memory is consuming more then 2GB RAM. So we need just forget category collection after generate urls for him.