Title: Memory Allocation Error
Last modified: August 21, 2016

---

# Memory Allocation Error

 *  Resolved [Angelina Belle](https://wordpress.org/support/users/angelina-belle/)
 * (@angelina-belle)
 * [12 years ago](https://wordpress.org/support/topic/memory-allocation-error-2/)
 * I just got my domain upgraded to php 5.3 and got this update.
 * As soon as I put it to use (via the Shortcode Exec PHP plugin) I received the
   following error: Fatal error: Allowed memory size of 25165824 bytes exhausted(
   tried to allocate 1245184 bytes) in …/wp-content/plugins/php-browser-detection/
   cache/cache.php on line 4100
 * I was attempting to use is_mobile();
 * ———-
 * I attempted to use it on another page, in a customized version of the Vanilla
   PDF Embed plugin. I received the same message.
 * Does this memory usage seem unusual, or do I need more memory to run WordPress?
 * [https://wordpress.org/plugins/php-browser-detection/](https://wordpress.org/plugins/php-browser-detection/)

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

 *  Thread Starter [Angelina Belle](https://wordpress.org/support/users/angelina-belle/)
 * (@angelina-belle)
 * [12 years ago](https://wordpress.org/support/topic/memory-allocation-error-2/#post-4871725)
 * The site runs fine without php-browser-detection — I only get this error when
   I enable the plugin.
 * My host informs me that running wordpress under php 5.3 will require more than
   24MB, and advised me to change my php.ini file accordingly.
 *  [nicholasd83](https://wordpress.org/support/users/nicholasd83/)
 * (@nicholasd83)
 * [12 years ago](https://wordpress.org/support/topic/memory-allocation-error-2/#post-4871813)
 * Delete and reinstall worked for me. Something about updating automatically broke
   the plugin for me on multiple sites.
 *  Thread Starter [Angelina Belle](https://wordpress.org/support/users/angelina-belle/)
 * (@angelina-belle)
 * [12 years ago](https://wordpress.org/support/topic/memory-allocation-error-2/#post-4871814)
 * That’s very strange — I wonder why? I’ll have to give that one a try.
    Thanks!

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

The topic ‘Memory Allocation Error’ is closed to new replies.

 * ![](https://ps.w.org/php-browser-detection/assets/icon-256x256.png?rev=999338)
 * [PHP Browser Detection](https://wordpress.org/plugins/php-browser-detection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/php-browser-detection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/php-browser-detection/)
 * [Active Topics](https://wordpress.org/support/plugin/php-browser-detection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/php-browser-detection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/php-browser-detection/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Angelina Belle](https://wordpress.org/support/users/angelina-belle/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/memory-allocation-error-2/#post-4871814)
 * Status: resolved