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.

I have a site that throws fatal errors when Safe Mode is turned off. For example:

Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 30720 bytes) in /home/user/public_html/mydomain.com/wp-includes/compat.php on line 57

or

Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 30720 bytes) in /home/user/public_html/mydomain.com/wp-includes/functions.php on line 609

Memory really shouldn't be a problem because Wordpress is allocated 256MB and php is allocated 128MB on my server.

Can anyone point to a way to troubleshoot this?

share|improve this question
    
Short term solution: Disable some resource intensive plugins. Long term: This error is actually quite descriptive --> Increase the memory your server grants to PHP. –  Johannes Pille Apr 19 '13 at 21:23
1  
If you convert that 262144 works out to 256 kiloBytes. That is your limit. Are you sure you have these numbers right? Side note: WordPress can only use memory up to PHP's limit, even if you set WordPress's limit higher than PHP's. –  s_ha_dum Apr 19 '13 at 22:53
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.