particleman - 3:46 pm on Feb 12, 2012 (gmt 0)
Seems a quick fix would be to separate your DB from that server and setup a DB only server at least until you can get a handle on the memory issues. I would say that is a temporary solution if you know you have issues with you queries.
You need to test these queries and use the explain keyword to 1. See how long your queries are taking against real data and 2. Verify they are using indexes properly