[wp-hackers] Memory spike in comments_template()

Otto otto at ottodestruct.com
Fri Jul 9 21:42:28 UTC 2010


On Fri, Jul 9, 2010 at 3:57 PM, William Canino
<william.canino at googlemail.com> wrote:
> <!-- BEFORE: 25033360 -->
> <!-- START: 33953448 -->
> ... (comments go here) ...
> <!-- END: 36172480 -->
> <!-- AFTER: 36113680 -->
>
> The memory usage jumped 8.5 megabytes between BEFORE and START.
>
> Do I really have to move out some of the older comments of this blog
> post?  Is there another solution?

Comments don't get pulled out of the database until the
comments_template function is called, so that basically means you've
got 8+ meg of comments on the post in question.


-Otto


More information about the wp-hackers mailing list