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
  • which magento version you are using Commented Mar 22, 2019 at 13:15

4 Answers 4

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
5
  • still same issue. snag.gy/M3EDCI.jpg Commented Mar 22, 2019 at 10:46
  • Does the commands running ? Commented Mar 22, 2019 at 10:47
  • Design Config Grid index has been rebuilt successfully in 00:00:00 Commented Mar 22, 2019 at 10:48
  • after command it says.. Design Config Grid index has been rebuilt successfully in 00:00:00 Commented Mar 22, 2019 at 10:49
  • Try this command. and send me screenshot of output php -dmemory_limit=2G bin/magento indexer:reindex customer_grid Commented Mar 22, 2019 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 need to Justify -dmemory_limit=-1

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 and acknowledge you have read our privacy policy.

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