Title: Plugin crashes due to memory limit
Last modified: August 24, 2016

---

# Plugin crashes due to memory limit

 *  [Davidpol](https://wordpress.org/support/users/ephraimf/)
 * (@ephraimf)
 * [11 years ago](https://wordpress.org/support/topic/plugin-crashes-due-to-memory-limit/)
 * When I run the plugin in it produces a fatal error: A fatal error occurred during
   profiling: Allowed memory size of 268435456 bytes exhausted (tried to allocate
   65552 bytes) in file /replicated/www/wp-includes/formatting.php on line 1482
 * I already tried deleting and re-installing the plug-in.
 * My website URL is [http://www.adldata.com](http://www.adldata.com)
 * Thank you.
 * [https://wordpress.org/plugins/p3-profiler/](https://wordpress.org/plugins/p3-profiler/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [Davidpol](https://wordpress.org/support/users/ephraimf/)
 * (@ephraimf)
 * [11 years ago](https://wordpress.org/support/topic/plugin-crashes-due-to-memory-limit/#post-6130912)
 * 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](https://wordpress.org/support/users/asink/)
 * (@asink)
 * [11 years ago](https://wordpress.org/support/topic/plugin-crashes-due-to-memory-limit/#post-6130919)
 * 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://wpperformanceprofiler.interconnectit.com/)
   
   [https://github.com/dannyvankooten/wp-plugin-profiler](https://github.com/dannyvankooten/wp-plugin-profiler)
   [https://github.com/Rarst/laps](https://github.com/Rarst/laps)
 *  Thread Starter [Davidpol](https://wordpress.org/support/users/ephraimf/)
 * (@ephraimf)
 * [11 years ago](https://wordpress.org/support/topic/plugin-crashes-due-to-memory-limit/#post-6130930)
 * Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Plugin crashes due to memory limit’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/p3-profiler_80a82a.svg)
 * [P3 (Plugin Performance Profiler)](https://wordpress.org/plugins/p3-profiler/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/p3-profiler/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/p3-profiler/)
 * [Active Topics](https://wordpress.org/support/plugin/p3-profiler/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/p3-profiler/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/p3-profiler/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Davidpol](https://wordpress.org/support/users/ephraimf/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/plugin-crashes-due-to-memory-limit/#post-6130930)
 * Status: not resolved