Skip to content

Conversation

@Jade-GG
Copy link
Collaborator

@Jade-GG Jade-GG commented Jan 21, 2026

In some projects this command ended up breaking as it was trying to get ~23000 products with all the rewrites which took a lot of memory.

In this PR I've attempted to mitigate this by doing smaller queries that each individually retrieve just the relevant entity IDs and then the relevant rewrite URLs. This also somewhat cleans up and speeds up the code as a result.

ETA: Adding this PR as a patch into the project where this issue occurred has fixed it there.

@Jade-GG Jade-GG requested review from BobWez98 and royduin January 21, 2026 10:30
@royduin royduin requested a review from kevinmeijer97 January 23, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants