Support » Plugin: P3 (Plugin Performance Profiler) » The plugin has crashed my site

  • Resolved subfight

    (@subfight)


    Hi,

    After I scan my plugins and I wanted to see the results, I got this message:

    Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 64 bytes) in /home1/submiss3/public_html/wp-content/plugins/p3-profiler/classes/class.p3-profiler.php on line 300

    How can I fix it?

    https://wordpress.org/plugins/p3-profiler/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Ok I desactivated the plugin from my ftp, delete it and reinstalled.

    The plugin works well as long as we don’t scan too much plugin at the same time (I was trying to scan 42 plugins and it’s too much). Now I activate only 10 plugins at a time and it works very well.

    Plugin Contributor Kurt Payne

    (@kurtpayne)

    Hi subfight,

    Your memory limit was set to 256 MB and it was exhausted by P3. 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’m glad you figured a way around it. I can also recommend these other profiling plugins:

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

    Thanks a lot 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘The plugin has crashed my site’ is closed to new replies.