Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Allowed memory size of 536870912 bytes \Monitoring-System\

    Scheduled Pinned Locked Moved Development
    2 Posts 2 Posters 169 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      michael12
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        You are trying to do this using some custom php script in pfSense directly?

        1 Reply Last reply Reply Quote 1
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.