Wordpress Flush WP object cache, prevent memory limit 2014-08-27 Tomislav Vlahović Leave a comment global $wpdb, $wp_actions; $wpdb->queries = array(); $wp_actions = array(); wp_cache_flush();