[wp-trac] [WordPress Trac] #3480: memory leak in wp-includes/functions.php line 818

WordPress Trac noreply at wordpress.org
Mon Feb 12 05:37:52 UTC 2024


#3480: memory leak in wp-includes/functions.php line 818
-----------------------------------------------+----------------------
 Reporter:  mattbta                            |       Owner:  (none)
     Type:  defect (bug)                       |      Status:  closed
 Priority:  normal                             |   Milestone:
Component:  General                            |     Version:  2.0.5
 Severity:  normal                             |  Resolution:  invalid
 Keywords:  reporter-feedback hunt-irrelevant  |     Focuses:
-----------------------------------------------+----------------------

Comment (by mavrodinedgjq8):

 It sounds like you're experiencing a memory leak issue in WordPress,
 specifically in the functions.php file at line 818, which handles
 comments. This issue seems to be triggered by a large number of spam
 comments accumulating in the database, eventually exhausting the allocated
 memory and causing PHP errors. A temporary workaround is to manually
 delete the spam comments from the wp_comments table. However, a long-term
 solution would likely involve implementing better spam filtering or
 optimization measures to prevent memory leaks.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/3480#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list