Title: Fatal error: Allowed memory size
Last modified: August 22, 2016

---

# Fatal error: Allowed memory size

 *  Resolved [april0n](https://wordpress.org/support/users/april0n/)
 * (@april0n)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-68/)
 * hi,
 * I got this message from tablepress in my wordpress site.
 * Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate
   2048 bytes) in /home/zstarpower/public_html/test/wp-content/plugins/tablepress/
   models/model-table.php on line 1044
 * please help me to fix it. I’m doing for 100,000 tables work.
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-68/#post-5587697)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * Are you saying that you have 100,000 tables? That’s pretty much, and most likely
   the reason for these issues. The site is reaching the PHP memory limit.
    You 
   could try increasing that by setting the `WP_MEMORY_LIMIT` constant to a higher
   value in the wp-config.php file, e.g. to `1024M`, with the help of [http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP](http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP)
 * If you are really using 100,000 tables, you might need to consider other options
   in the future, however.
 * Regards,
    Tobias
 *  Thread Starter [april0n](https://wordpress.org/support/users/april0n/)
 * (@april0n)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-68/#post-5587725)
 * hi,
 * after i changed PHP memory limit, i can see this message below.
 * Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate
   123667 bytes) in /home/zstarpower/public_html/test/wp-content/plugins/w3-total-
   cache/lib/W3/ObjectCache.php on line 211
 * could you please advise me?
 * Thank you.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-68/#post-5587738)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * Ok, the actual limit did not increase from what I can see. So, it might be possible
   that your server host is limiting the memory. You might therefore have to get
   in touch with them, so that they allow a higher limit.
 * Otherwise, I’m out of ideas here. The problem basically is that your site is 
   using so many plugins that manage so much data so that the PHP memory limit is
   reached.
 * Regards,
    Tobias
 *  Thread Starter [april0n](https://wordpress.org/support/users/april0n/)
 * (@april0n)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-68/#post-5587778)
 * hi,
 * i fixed it.
    problem is plugin “W3 Total Cache”. after i remove that plugin, 
   tablepress works.
 * Thank you for your help.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-68/#post-5587786)
 * Hi,
 * good to hear that you found a solution!
    Note that this doesn’t mean that there’s
   a bug or something in that plugin. It’s just that the sum of all plugins and 
   their data that you use reached the memory limit. W3 Total Cache just happened
   to be the one plugin that broke the limit.
 * Best wishes,
    Tobias

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

The topic ‘Fatal error: Allowed memory size’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-68/#post-5587786)
 * Status: resolved