Title: Memory error
Last modified: June 14, 2017

---

# Memory error

 *  [winnetouch](https://wordpress.org/support/users/winnetouch/)
 * (@winnetouch)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/memory-error-14/)
 * I keep getting this error. I had this before but normally it was a plugin error.
   After disabling the plugin everything worked as it should. But now this error
   just appeared. It appears only when I try to access the backend. The frontend
   works normally (except that it’s outdated for about 2 months now).
 * Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate
   930 bytes) in /home/pdplanik/public_html/wp-includes/pomo/entry.php on line 76
 * My hosting provider said I should reinstall wordpress (I copied all the up to
   date files except wp-config).
 * I also tried to increese the memory in wp-confi with define( ‘WP_MAX_MEMORY_LIMIT’,‘
   256M’ );
 * Nothing worked and my provider is really no help at all. They just ignore the
   issue. I am inclined to thing this is a server side issue.

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

 *  [sumithsuku11](https://wordpress.org/support/users/sumithsuku11/)
 * (@sumithsuku11)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/memory-error-14/#post-9226691)
 * HI ,
 * i believed that hosting provider can help you more. But you said that they helpless.
 * Its ok we can try.
 * Just add the line
 *  `php_value memory_limit 256M`
 *  in the .htaccess file in root of the wordpress intallation.
 * Regards
    Sumith
    -  This reply was modified 9 years, 2 months ago by [sumithsuku11](https://wordpress.org/support/users/sumithsuku11/).
 *  Thread Starter [winnetouch](https://wordpress.org/support/users/winnetouch/)
 * (@winnetouch)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/memory-error-14/#post-9226767)
 * Inserting that results in a 500 internal server error.
 * This is how I did it:
 *     ```
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteRule ^index\.php$ - [L]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       </IfModule>
       php_value memory_limit 256M
       # END WordPress
       ```
   
 *  [Ali Shan](https://wordpress.org/support/users/nx2017/)
 * (@nx2017)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/memory-error-14/#post-9226810)
 * Hi,
 * Remove `php_value_memory_limit 256M` from htaccess file.
    Open your wp-config.
   php file and add the following code to the very bottom, but just before the “
   happy blogging” line:
 * `define('WP_MEMORY_LIMIT', '3000M');`
 * Regards,
    -  This reply was modified 9 years, 2 months ago by [Ali Shan](https://wordpress.org/support/users/nx2017/).
 *  [sumithsuku11](https://wordpress.org/support/users/sumithsuku11/)
 * (@sumithsuku11)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/memory-error-14/#post-9226884)
 * Hi ,
 * If it still not work . Please refer below url you will get some ideas.
 * [https://premium.wpmudev.org/blog/increase-memory-limit/?utm_expid=3606929-106.UePdqd0XSL687behGg-9FA.0&utm_referrer=https%3A%2F%2Fwww.google.co.in%2F](https://premium.wpmudev.org/blog/increase-memory-limit/?utm_expid=3606929-106.UePdqd0XSL687behGg-9FA.0&utm_referrer=https%3A%2F%2Fwww.google.co.in%2F)

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

The topic ‘Memory error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [sumithsuku11](https://wordpress.org/support/users/sumithsuku11/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/memory-error-14/#post-9226884)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
