This error is not raised by Mail.dll.
It is returned by your IMAP server and only reported by the Imap component.
It seems that the server is reporting memory problems.
You'll have to contact your server administrator to resolve this, there is no alternative, as the problem is on the server side.