[wp-trac] [WordPress Trac] #3480: memory leak in
wp-includes/functions.php line 818
WordPress Trac
wp-trac at lists.automattic.com
Sun Dec 17 21:23:14 GMT 2006
#3480: memory leak in wp-includes/functions.php line 818
--------------------------+-------------------------------------------------
Reporter: mattbta | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone:
Component: Optimization | Version: 2.0.5
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Background:
IIS 6, PHP 5.2.0, MySQL 5.0.27, Wordpress 2.0.5
I noticed that I couldn't get into my admin panel...it would just time out
but the rest of the site functioned well. After 8 hours or so, I would
come back and I would be getting a PHP error stating that allocated memory
was exhausted and cited wp-includes/functions.php line 818. I restarted
IIS and let it run over the next couple of days and it would end up
getting the PHP error again.
That line has to do with comments (return get_object_vars($_comment);). I
hopped in phpmyadmin and there were 300+ new comment spams. I performed a
"delete from wp_comments where comment_approved = 'spam';" and that took
care of the issue for the time being. I haven't had time to peek into the
code to recommend a patch. Just wanted to make the crew aware of the
issue.
--
Ticket URL: <http://trac.wordpress.org/ticket/3480>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list