Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.
 Fatal error: Out of memory (allocated 47185920) (tried to allocate 1922682 bytes) in /homepages/35/d289582498/htdocs/reeks/wp-includes/post.php on line 2850

I have a Wordpress website, setup with a custom theme. I have approximately 29 posts published; and 2 pages; today I go to create a new post and the above error is resolving?

I have just tried adjust my memory limit via the htaccess file and it now looks like below; but I am still getting this error.

# 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>

<IfModule mod_php5.c>
php_value memory_limit 64M
</IfModule>

# END WordPress

I have ALSO; just tried using a 'Memory Increase' Wordpress plugin - increasing the memory to 100MB and still the above error appears; any suggestions?

share|improve this question
2  
Disable all plugins and switch to Twenty Twelve. Does it still happen? –  toscho Jul 7 '13 at 20:15
1  
PHP configuration via .htaccess is not supported in all configurations. Had you asked hosting support for their information and recommendation on configuring PHP memory limit? –  Rarst Jul 7 '13 at 22:48
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.