Title: Fatal error while posting
Last modified: August 21, 2016

---

# Fatal error while posting

 *  [elistr](https://wordpress.org/support/users/elistr/)
 * (@elistr)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-while-posting/)
 * Hi,
 * While creating a post at the bottom of page it shows me:
 * Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate
   72 bytes) in /data/web/virtuals/3409/virtual/www/wp-includes/wp-db.php on line
   1548
 * What can I do about that? Because of this error I cannot schedule posts etc.
 * Thank you in advance for your help!

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

 *  [Krishna](https://wordpress.org/support/users/1nexus/)
 * (@1nexus)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-while-posting/#post-3930244)
 * Try these:
    Add this line in your [wp-config.php](http://codex.wordpress.org/Editing_wp-config.php)
   below the opening `<?php`
 * `define('WP_MEMORY_LIMIT', '64M');`
 * If it doesn’t help, change the memory_limit in your php.ini (if you have access
   to that file) to increase memory to 64M:
 * `memory_limit = 64M;`
 *  Thread Starter [elistr](https://wordpress.org/support/users/elistr/)
 * (@elistr)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-while-posting/#post-3930255)
 * Hi Krishna, Thank you very much for your reply. My Memory limit is 128 MByte 
   and I am still having this problem.
    Is there anything else I can do?
 * Edit:
    I use WP-Memory-Usage plugin. It shows me: Memory limit : 128 MByte Memory
   usage : 24.41 MByte
 * Btw. in wp-config.php I have define(‘WP_MEMORY_LIMIT’, ’64M’);
 *  [Krishna](https://wordpress.org/support/users/1nexus/)
 * (@1nexus)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-while-posting/#post-3930290)
 * Try changing memory limit in your config.php to 128M and see if it helps.
 *  Thread Starter [elistr](https://wordpress.org/support/users/elistr/)
 * (@elistr)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-while-posting/#post-3930378)
 * Works perfectly! Thanks a lot 🙂
 *  Thread Starter [elistr](https://wordpress.org/support/users/elistr/)
 * (@elistr)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-while-posting/#post-3930430)
 * Actually the problem is back 🙁
 * Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate
   80 bytes) in /data/web/virtuals/3409/virtual/www/wp-includes/wp-db.php on line
   1548

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

The topic ‘Fatal error while posting’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [elistr](https://wordpress.org/support/users/elistr/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-while-posting/#post-3930430)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
