Spammer posted so much I get HTTP 500 error trying to delete them

So I hadn't logged into my site for a few days and then when I did I discovered I had 5962 spam comments on my admin blog.  I tried to delete the user but get HTTP 500 server errors because the request apparently takes too long to complete.  Any suggestions?  How can I get rid of them?