[wp-hackers] Disable DB/Object Caching and / or Clear Memory Used

Peter Westwood peter.westwood at ftwr.co.uk
Fri Dec 3 15:51:54 UTC 2010


On 3 Dec 2010, at 15:47, Scott Kingsley Clark wrote:

> Is anyone aware of a way to clear up memory used in queries and such
> so that when running a large script php can free up memory?


Periodic calls to

wp_cache_flush()

Ensure SAVEQUERIES isn't defined or empty $wpdb->queries often

Are good places to start

Cheers
-- 
Peter Westwood
http://blog.ftwr.co.uk | http://westi.wordpress.com
C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5



More information about the wp-hackers mailing list