I'm encountering a similar error, ONLY on /wp-admin/edit.php
the error reads:
Fatal error: Out of memory (allocated 74448896) (tried to allocate 40 bytes) in /wp-includes/wp-db.php
Can i tell my host something more specific than "sort out the MySQL server"? My host, Dreamhost, is as stumped as I am.
Memory for WP, like any PHP app, is configured via php.ini. The default for max mem tends to be 8MB. Yours appears to be significantly above that.
What plugins are you running -- and are they all current? Some can dramatically increase the amount of memory needed.
I am running no plugins at all, just to be safe.
spfarquhar
Member
Posted 4 years ago #
I am running with PW 2.2 and about 30 plugins. The hungriest plugin so far is Google XML sitemaps which needs about 12Mb of memory. I have basic blogs with a few plugins running with 8Mb.
Your error says that you have 74Mb so something is configured wrong with your shared server configuration settings, or if on a dedicated host, then apache or PHP is configured wrong. Best to contact the host provider saying that a basic WP only uses a max of 8Mb.
I did contact my host, and after a long conversation with them, they determined that they can't help me. Their only support for wordpress is setup. They installed a fresh setup, and that worked, so I'm on my own.
I did have the google sitemaps plugin installed. Even though it is disabled, is it possible that the plugin is still using memory?
jeffmcneill
Member
Posted 4 years ago #
Here is what I did to fix this on Site5. Basically u need to create a custom php.ini and up the ram limits on php threads:
Thread in Site5 forum with instructions.
The real script that does the magic (must modify at least a little).
I <3 site5! btw, this works while using PHP5 (add the following line to your .htaccess)
AddHandler application/x-httpd-php5 .php
Cheers!
I tried adding that line to my .htaccess file, and it totally broke my install. Browsing to the home page made the browser think it was time to download a file. I had to erase the wordpress files and reinstall wordpress to get it running again.
Still, I get that error at /wp-admin/edit.php
I finally found the cause of this pesky error: Ultimate tag warrior.
For more info: see this post: http://thewrecker.net/?p=182
Can I just say that plugin authors really do need to build better ways for their plugins' data to be REMOVED.
Am having the same problem with Feedwordpress. I tried to add a new feed source and then it spewed this error:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 147555 bytes) in /home/XXXXXX/XXXXXX/XXXXXX/wp-includes/wp-db.php on line 97
Maybe it can't handle too many feeds at the same time.
Well, no.
Your PHP is configured at the default of 8MB for max memory.
You'll want to increase it as you add more plugins.
helldrain
Member
Posted 4 years ago #
I have the same memory exhausted problem ... i read all the topics .. i googled... and I can't find a solution. I send an email to my webhost an they said that the maximum aloed memory size is 10Mb and the can't/won't change that.
I tried to install the blog (not plugins just the blog) and i got Allowed memory size of 10485760 bytes exhausted (tried to allocate 122880 bytes)
I tried to add the .htaccess file but there was a server error saying something like i don't have the right to inxcrease the memory limit.
Is there a way to install... maybe increase the processing time and decrease the occupied memory size...
Or can someone recommend me another blog???
Something's not adding up. There are tons of WP blogs running under 8MB PHP defaults.
Are you positive you don't have any plugins enabled? Some auto-installer thingies add some. Some themes embed 'em.
helldrain
Member
Posted 4 years ago #
i downloaded the zip file from the site ... nothing more.. i don't even know how to install the plugins
helldrain
Member
Posted 4 years ago #
i also tried to install on my computer and i put the blog onto the webserver .. it worked but when i tried to go to the admin section i got that memory exhausted error again
helldrain
Member
Posted 4 years ago #
i downloaded the tag.gz file .. and i managed to make the installation work ... i don't know what the problem was
The way I got it fixed was contacting the web host and asking them to fix the security issue (it seems that was the reason for the limit). It could be that for your case. :)
twist3d
Member
Posted 4 years ago #
I get this same issue but nothing said here has fixed my issue.
twist3d
Member
Posted 4 years ago #
WordPress works fine on hasweb.com servers but doesn't work on my new host. Even when doing a fresh install