Posted: October 14, 2013 at 9:44 am
After my server change all looks to be working fine but I am getting this message in the From the Blog panel in the sidebar of the admin area: |
|
Hi Mark, I’m assuming you have done the steps Sindey outlined here https://eventespresso.com/topic/blank-settings-pages-after-server-change/#post-62686 Adding define( 'WP_MEMORY_LIMIT', '128M' ); To wp-config.php? Unfortunately your Host can also override these settings so if you have done the above, I would adivse you to contact you host tech support and check what the memory limit is set to. |
|
Hi Tony, yes I did that and the hosts said it is 128M. Is there a way I can check what it is actually set to? |
|
|
There are several layers where memory limits can be set. WordPress allows you to set a maximum memory limit and php lets you set a maximum memory limit. If both of those are set to 128MB but you are still running out of memory at 42MB, then you are probably running into the physical memory limit. This can either be caused by literally running out of RAM on the server, or more likely, hitting a limit imposed by the hosting provider on how much memory each process can use. If the host has a physical server with 2GB of RAM, and they want to use it to service 50 accounts, then they can set a per-process limit of 40MB. You might want to speak with your host’s technical support to see if they can raise that limit. |
Yes. There’s a script you can download here: Then upload to your server and run the script by navigating to yoursite.com/phpmemtest.php |
|
I ran the test and it went up 99M: |
|
Hi Mark, Here’s a guide that may help in this case: http://www.isthisyourhomework.com/how-to-fix-the-wordpress-white-screen-of-death/ |
|
|
Hi Mark, I incorporated a memory limit test into the requirements plugin. You can download it here. Once you’ve uploaded and activated it, go to Tools->requirements check. In the php section, you’ll see a button next to “Test actual PHP memory limit” marked “Test”. That way you can test within the WP environment and help narrow down where the bottleneck is. |
Thanks Sidney, I’ll try that and get in touch with the hosts with the results. |
|
Thanks Josh & Sidney, I tried the php memory test and it wouldn’t go above 40M. I added the line to the htaccess file in Josh’s link and it now runs up to 128M. Problem solved. |
|
The support post ‘From the Blog – Fatal error: Out of memory’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.