mikez006
Customer
We upgraded to VB 4.2.5, Mysql 5.6 and PHP7 and now the daily cron job is hitting a memory error every day.
We have memory size set to 512mb, which is large, so I'm not sure how it's hitting this limit. Any ideas how to fix it without just increasing the memory limit?
PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 1580989120 bytes) in /home/domain/public_html/includes/class_core.php on line 1386
in mysqli_query called at /home/domain/public_html/includes/class_core.php (1386)
…SQLi::execute_query called at /home/domain/public_html/includes/
class_core.php (475)
…slave called at /home/domain/public_html/dbtech/credits/cron/
credits_daily.php (41)
in include_once called at /home/domain/public_html/includes/functions_cron.php (276)
in exec_cron called at /home/domain/public_html/cron.php (86)
We have memory size set to 512mb, which is large, so I'm not sure how it's hitting this limit. Any ideas how to fix it without just increasing the memory limit?
PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 1580989120 bytes) in /home/domain/public_html/includes/class_core.php on line 1386
in mysqli_query called at /home/domain/public_html/includes/class_core.php (1386)
…SQLi::execute_query called at /home/domain/public_html/includes/
class_core.php (475)
…slave called at /home/domain/public_html/dbtech/credits/cron/
credits_daily.php (41)
in include_once called at /home/domain/public_html/includes/functions_cron.php (276)
in exec_cron called at /home/domain/public_html/cron.php (86)