Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Davidpol

    (@ephraimf)

    It just failed again with the following error message:

    A fatal error occurred during profiling: Allowed memory size of 268435456 bytes exhausted (tried to allocate 49893 bytes) in file /replicated/www/wp-content/plugins/ubermenu/includes/menuitems/UberMenuItem.class.php on line 260

    Plugin Contributor asink

    (@asink)

    You can try to set the memory limit higher, but I’m not sure how high you’ll need to go. The way P3/PHP works will consume large amounts of memory for short periods of time for very complex sites. P3 pulls a backtrace (a snapshot of the program execution stack) and analyzes it. This is a very big chunk of memory. When P3 is done, the memory is freed up. This happens over and over several thousand times in a row and can hit PHP’s memory limit on complex sites, though.

    I also recommend these other profiling plugins:

    https://wpperformanceprofiler.interconnectit.com/
    https://github.com/dannyvankooten/wp-plugin-profiler
    https://github.com/Rarst/laps

    Thread Starter Davidpol

    (@ephraimf)

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin crashes due to memory limit’ is closed to new replies.