Discuz! info: Can not connect to MySQL server

Time: 2014-4-20 6:38pm
Script: /boards/viewthread.php

Error: Out of memory; check if mysqld or some other process uses all available memory; if not, you may have to use 'ulimit' to allow mysqld to use more memory or you can add more swap space
Errno.: 1041