- Prevent ActiveRecord from saving query
by
$this->db->save_queries = false;credit: how can I free the memory used by $this->db->insert()
- Free result memory - CodeIgniter will only reclaim memory when http query processing was returned. If you request is long, you have to free by yourself
$query = $this->db->query('SELECT title FROM my_table');credit: last section of Generating Query Results
$query->free_result();
No comments:
Post a Comment