I have a custom .csv generator functions that basically export data from posts and its post metas.
The function works fine on this
Array( [tax_query] => Array (  => Array ( [taxonomy] => lot-status [field] => slug [terms] => planting ) ) [offset] => 1000 [order] => ASC [posts_per_page] => 500 )
The problem occur when I set the offset to 1500 and WordPress gives me the
Fatal error: Allowed memory size of 37748736 bytes exhausted (tried to allocate 71 bytes) in /var/www/twitgreen/htdocs/wp-includes/meta.php on line 574
fatal error notice.
I've already set the memory limit to 64M in wp-config.php.
Has anybody found (and solve, hopefully) this kind of problem? A debugging hint maybe?