Bulk update with cron doesn't work - Magento 2

Viewed 28

i have a problem with Bulk update in Magento 2.4.3.

if I make a bulk edit of some products I get the message: enter image description here

but a second later this error appears: enter image description here

if i see the details: enter image description here

and I also have a problem when I launch from the command line the following instruction:

php bin/magento cron:run

this is the error:

    PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes) in /generated/metadata/global.php on line 236136
    PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes) in /generated/metadata/global.php on line 236136
Ran jobs by schedule.

but i have set memory limit to -1

How can I solve it?

1 Answers

Please check with your memory limit setting on phpifno()

for the time being there is workaround to memory limit using the following command:

php -d memory_limit=-1 bin/magento cron:run
Related