0

enter image description here when i run command

php bin/magento indexer:reindex

it don't reindex all indexers.

but when i run

php -dmemory_limit=6G bin/magento indexer:reindex

the the following error

Please advice your best ..

1

You need to Justify -dmemory_limit=-1

0

As I can see in screenshot you are adding memory limit after bin/magento. you will need to add memory limit before bin/magento

php -dmemory_limit=2G bin/magento indexer:reindex
  • still same issue. snag.gy/M3EDCI.jpg – Aadii Mughal Mar 22 at 10:46
  • Does the commands running ? – Mohit chauhan Mar 22 at 10:47
  • Design Config Grid index has been rebuilt successfully in 00:00:00 – Aadii Mughal Mar 22 at 10:48
  • after command it says.. Design Config Grid index has been rebuilt successfully in 00:00:00 – Aadii Mughal Mar 22 at 10:49
  • Try this command. and send me screenshot of output php -dmemory_limit=2G bin/magento indexer:reindex customer_grid – Mohit chauhan Mar 22 at 10:51
0

Just Delete these folders:

-var/cache

-var/page_cache

-var/view_preprocessed

Then Try your command.

if this will not work,then go to php.ini file and increase memory_limit(size).

0

You are Adding Memory Limit After bin/magento

You Need To Justify -dmemory_limit=-1

-1 is for Unlimitaed memory

php -dmemory_limit=-1 bin/magento indexer:reindex

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.