Design issue  Out of memory error when deleting a usergroup


Well-known member
Probably me doing something daft (deleting the wrong usergroup I suspect), but I got an out of memory error...

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 16 bytes) in <removed>\library\Zend\Db\Statement\Mysqli.php on line 304

I suspect it was the wrong "Registered" group, so I was trying to delete a group with about 50,000 member accounts in it!

Going on from that, it would be really, really good if you gave an additional warning if you go to delete a usergroup with members linked to it.


XenForo developer
Staff member
Deleting a group with 50000 members in it is, unfortunately, always going to be a challenge; there's a whole bunch of data that needs to be modified.

Adding some bulk user management tools (eg, removing users from a group) might be a helpful workaround for a future release.