You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have this resolved on our project, besides the problem with fetching products, there seems to be also a problem with a memory leak in Redis. probably related to symfony/symfony#43918 (even though the linked issue is already resolved).
Describe the bug
When generating the image sitemap, all offered products are loaded into memory at once. (See https://github.com/shopsys/shopsys/blob/master/packages/framework/src/Model/ImageSitemap/ImageSitemapFacade.php#L79). On our project (~20k products), this started to fail on
OutOfMemoryError
.To Reproduce
php bin/console shopsys:cron --module="App\Model\ImageSitemap\ImageSitemapCronModule" --instance-name=export
Expected behavior
The sitemap should be generated regardless of the amount of products.
The text was updated successfully, but these errors were encountered: