[wp-trac] [WordPress Trac] #17083: Users experiencing fatal memory errors in various activities
WordPress Trac
wp-trac at lists.automattic.com
Fri Apr 8 04:02:43 UTC 2011
#17083: Users experiencing fatal memory errors in various activities
--------------------------+------------------------------
Reporter: bennebw | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.1
Severity: normal | Resolution: wontfix
Keywords: close |
--------------------------+------------------------------
Changes (by bennebw):
* keywords: reporter-feedback => close
* status: new => closed
* resolution: => wontfix
Comment:
Replying to [comment:1 dd32]:
Thanks for the suggestions. I tried both methods and get 40M for the
memory_limit using the phpinfo and ini_get methods. The 256M I saw was
probably due to the WP Admin change that you mentioned above.
I tried a little debugging by re-installing WP 3.1.1, and it wasn't
bombing out. So I activated a bunch of plugins and was able to get it to
crash and give this message:
Fatal error: Out of memory (allocated 29622272) (tried to allocate 3096504
bytes) in /homepages/38/d151202375/htdocs/pixoox/wp-includes/class-
http.php on line 1426
So, from that message, I'm guessing it's trying to allocate a total of
29.6M + 3M or around 32.6M all total. Is that right? If so, then you'd
expect it to be ok if the memory limit is 40M. (I also put the
ini_get('memory_limit') in the default-constants.php file after the
conditional setting of the memory limit that you mentioned above and it
still showed 40M as expected.
It's definitely not the WP_MEMORY_LIMIT item. I didn't see any other
ini_set('memory_limit') calls in a search of the WP code that looked like
it would cause it to set it lower than the 256.
Not sure what gives, but it is a head scratcher for me. All the same, a
simple workaround is to deactivate a few plugins and do the upgrade, and
drive on.
Thanks again for taking a look.
Byron
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17083#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list