Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.
it can be MySQL out off memory. please try to turned off "Enable Notification for New Discussions" at joomla backend > groups >group settings. with this every time users create new discussion, the database query will not too big.