Error performing query (Message : MySQL client ran out of memory,Code 2008)