• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 172 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 Nov 11, 2024, 1:07 PM

    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
    • S
      stephenw10 Netgate Administrator
      last edited by Nov 12, 2024, 4:30 PM

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

      1 Reply Last reply Reply Quote 1
      1 out of 2
      • First post
        1/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received