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 ..
-
which magento version you are usingNaisa purushotham– Naisa purushotham2019年03月22日 13:15:51 +00:00Commented Mar 22, 2019 at 13:15
4 Answers 4
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.jpgAadii Mughal– Aadii Mughal2019年03月22日 10:46:46 +00:00Commented Mar 22, 2019 at 10:46
-
Does the commands running ?Mohit chauhan– Mohit chauhan2019年03月22日 10:47:58 +00:00Commented Mar 22, 2019 at 10:47
-
Design Config Grid index has been rebuilt successfully in 00:00:00Aadii Mughal– Aadii Mughal2019年03月22日 10:48:51 +00:00Commented Mar 22, 2019 at 10:48
-
after command it says.. Design Config Grid index has been rebuilt successfully in 00:00:00Aadii Mughal– Aadii Mughal2019年03月22日 10:49:02 +00:00Commented Mar 22, 2019 at 10:49
-
Try this command. and send me screenshot of output php -dmemory_limit=2G bin/magento indexer:reindex customer_gridMohit chauhan– Mohit chauhan2019年03月22日 10:51:06 +00:00Commented Mar 22, 2019 at 10:51
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).
You need to Justify -dmemory_limit=-1
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