Title: 2.1 deleting comments
Last modified: August 18, 2016

---

# 2.1 deleting comments

 *  Resolved [aaronh](https://wordpress.org/support/users/aaronh/)
 * (@aaronh)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/21-deleting-comments/)
 * I upgraded to 2.1 this morning, which also involved upgrading my mysql to 4.1
   from 3.23 (no big deal). Everything looks OK, except when I try to delete a comment,
   by editing it directly and choosing delete, I get the following error (mydomain
   swapped for the actual file path):
 * Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate
   145 bytes) in /mydomain/wordpress/wp-includes/formatting.php on line 31
 * Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate
   11 bytes) in Unknown on line 0
 * The comment does not delete. When I try the same thing from the dashboard, Manage
   > Comments, the comment flashes red, and the error message is suppressed, but
   the comment still will not delete.
 * Any help would be appreciated.
 * Thanks,
    Aaron

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Jenniferr](https://wordpress.org/support/users/jenniferr/)
 * (@jenniferr)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/21-deleting-comments/#post-511653)
 * This isn’t exactly a solution, but you could try deleting it from the database
   for now.
 *  Thread Starter [aaronh](https://wordpress.org/support/users/aaronh/)
 * (@aaronh)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/21-deleting-comments/#post-511654)
 * Well, sure. I’ve already done that. But as you say, it’s not exactly what I had
   in mind.
 *  Thread Starter [aaronh](https://wordpress.org/support/users/aaronh/)
 * (@aaronh)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/21-deleting-comments/#post-511883)
 * I fixed this by simply bumping up the memory allotment for php. Search your php.
   ini file for the following line:
 * memory_limit = 8M
 * I replaced the line with
 * memory_limit = 16M
 * which solved my problem. Use a number appropriate for your needs, which may differ.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘2.1 deleting comments’ is closed to new replies.

## Tags

 * [delete](https://wordpress.org/support/topic-tag/delete/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [aaronh](https://wordpress.org/support/users/aaronh/)
 * Last activity: [19 years, 2 months ago](https://wordpress.org/support/topic/21-deleting-comments/#post-511883)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
