Allowed memory size of 536870912 bytes \Monitoring-System\
-
I have a file that am processing the data from. now it's too big, i have created chunks.
$chunkSize = 700; and set the limit for the number of lines
now when the number is too small there is a ERROR: Maximum execution time of 60 seconds exceeded {"userId":1,"exception":"[object] (Symfony\Component\ErrorHandler\Error\FatalError(code: 0): Maximum execution time of 60 seconds exceeded at C:\TXampp\htdocs\websites\Monitoring-System\app\Services\BetRetrievingService.php:72)
and again when the size is too bigger than that it brings
Allowed memory size of 536870912 bytes exhausted (tried to allocate 136318976 bytes) {"userId":1,"exception":"[object] (Symfony\Component\ErrorHandler\Error\FatalError(code: 0): Allowed memory size of 536870912 bytes exhausted (tried to allocate 136318976 bytes) at C:\TXampp\htdocs\websites\Monitoring-System\vendor\monolog\monolog\src\Monolog\Utils.php:86)
anyone who has faced this issue before kindly assist me -
You are trying to do this using some custom php script in pfSense directly?