Hi ,
I use custom function to check node(title) there or not , it is ok but now i have more than 10K nodes that must searched ,
It give memory limit error to me ,
how can i fix this code ?

$query = new EntityFieldQuery;
$result = $query
  ->entityCondition('entity_type', 'node')
  ->propertyCondition('type', 'site')
  ->propertyCondition('title', $title)
  ->execute();

  if (!empty($result['node'])) {
    .....  
   } else { .... }