[wp-trac] Re: [WordPress Trac] #4045: Large blogs fatal error in
cache.php: extreme memory consumption on object reference removal
WordPress Trac
wp-trac at lists.automattic.com
Thu Sep 27 15:00:19 GMT 2007
#4045: Large blogs fatal error in cache.php: extreme memory consumption on object
reference removal
------------------------------+---------------------------------------------
Reporter: astereo | Owner: anonymous
Type: defect | Status: reopened
Priority: high | Milestone: 2.4
Component: General | Version: 2.2
Severity: critical | Resolution:
Keywords: 5.2 memory_limit |
------------------------------+---------------------------------------------
Comment (by Mrasnika):
Replying to [comment:2 torbens]:
> I wasn't even able to get the blog running again so far. As mentioned
above, disabling the cache in wp-config.php doesn't have an effect at all:
> {{{
> define('ENABLE_CACHE', false);
> }}}
>
This is because wp_cache_replace() and wp_cache_set() are not aware that
the cache is disabled. See my comment above to see how I fixed it - just
by copied the `is-the-cache-disabled` check to beginning of those two
functions.
--
Ticket URL: <http://trac.wordpress.org/ticket/4045#comment:10>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list