protected function fetchNextRecords()
    {
        if (!$this->use_fixed_offset) {
            $this->query->offset($this->query_offset);
        }
        if ($this->clean_memory_on_fetch) {
            // Attempt to clean php memory
            $this->results_cache = null;
            BeanFactoryCache::clearCache();
            gc_collect_cycles();
        }
        $this->results_cache = $this->query->execute();
        $this->cache_current_index = 0;
    }