Issue:
Plugin out of memory (4GB) when opening grouped products with more than 15 configurable products.
Vanilla Magento 2.4 No plugins / Default Luma Theme.
The site loads so slowly when going a product link (more than 16 config products).
Could you please check and give the solution?
Solution:
It only happens on Magento 2.4.0 when one grouped product has a lot of configurable products; so it causes the error Memory size allocated for the temporary table.
The root of this issue is that the site has to caches a huge HTML with js.
To fix this issue, we would like to give a hot-fixe solution when using the cache lifetime to solve the problem.
We have changes this file app/code/Bss/GroupedProductOption/Block/Product/View/Type/Configurable.php

When getCacheLifeTime is null, instead of loading html from cache, block will render function _toHtml().
Please check and try to apply the solution and then flush the cache on your site.
Count on us! Here are some information about BSS Commerce if you might be interested:
BSS Commerce is a full-service ecommerce agency with 14+ years of experience, supporting 75,000+ customers worldwide. As an Adobe Commerce Solution Bronze Partner and Select Magento Extensions Builder, we deliver trusted end-to-end solutions.
Our core strength is Magento, with 150+ extensions designed to enhance store performance and drive growth. With deep expertise from years of working on Magento websites, we deliver scalable, high-impact solutions backed by strong client trust.
Discover our extensions: https://bsscommerce.com/magento-2-extensions.html.
Our Magento B2B Extension by BSS Commerce is a flagship, widely used global solution, providing an all-in-one system for pricing, account management, and efficient B2B workflows.
>>> If you want to improve your visibility, install Magento SEO Extension by BSS Commerce
If you need further assistance, please don't hesitate to contact us.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article