PS is DreamHost Private Server, or virtual server.
I guess you are not on PS then. If MySQL is running of memory and you are on shared server, you can't do anything. We, as customers, don't even know who consumed all the memory on the server.
Submit a ticket to DH support and they will restart MySQL server.
$50 off and 3 free domains with code: [color=#CC0000]DH3[/color] [url=http://dreamhost.com/r.cgi?296804/signup|DH3]Sign Up NOW[/url] or More Codes Here