Allowed memory size of error while running process_search_index_queue.php

teknik 4 years ago updated 4 years ago 1

when i run "php -c /etc/php/7.0/apache2/php.ini process_search_index_queue.php" command system returns below error;

The previous process took more than 3 hours to complete. Unlocking to proceed..
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes) in /var/www/html/system/classes/vendor/FileRun/Utils/DB.php on line 32

just increased memry size to 512mb and problem solved.