m2.SmartCategory icon indicating copy to clipboard operation
m2.SmartCategory copied to clipboard

out of memory problem reintroduced on 12 Sep 2021

Open krehberg opened this issue 2 years ago • 1 comments

Hi @karliuka,

i just looked at the latest commits and discovered a possible problem regarding the commit https://github.com/karliuka/m2.SmartCategory/commit/2f447be2689431a46f6939a8532fc0476becdcf2

The code, which reduced the usage of RAM significantly was removed from "Model/Rule/Condition/Product.php".

Was that intentional?

Without that code, the issue that was fixed with pull request #43 is reintroduced.

The cronjob crashes after some time, because of the massive memory consumption.

We have 2.500+ Rules and 200k+ active products in our database.

We will work on other optimizations.

But if the removal was a mistake, could you please put the code in again?

Thanks and best regards, Kai

krehberg avatar Oct 19 '21 15:10 krehberg

Thanks you I will check as soon as possible ...

karliuka avatar Oct 19 '21 16:10 karliuka