title: Fatel:Error Increase memory limit for post type in wordpress admin
body: <p>I have built a site using wordpress in which it has a post type "Properties". In wordpress back end everything works fine including ordinary posts . But when I try to open "Properties" post type the following error is being thrown. Properties post type has more than 4000 posts. (Everything looks fine on front end)</p>
  
  <p>Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 81 bytes) in /home/homesdirectoryco/public_html/wp-includes/wp-db.php on line 2350</p>
  
  <p>I have memory of 512 MB in php.ini file,
  define( 'WP_MEMORY_LIMIT', '512MB' );
  define( 'WP_MAX_MEMORY_LIMIT', '512M' );  in wp settings
  and 
  ini_set('memory_limit','512M');   in wp-cache.php</p>
  
  <p>Any help would be appreciated. </p>
  
  <p>Thanks in advance.</p>