note 56958 deleted from function.mysql-free-result by philip
| From: | philip@php.net | Date: | Fri, 04 Sep 2015 19:12:05 +0000 |
| Subject: | note 56958 deleted from function.mysql-free-result by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-203630@lists.php.net to get a copy of this message | ||
Note Submitter: mdeininger at jyujin dot de
----
yes, i encountered that too. as far as i could tell, that's because the script is stored in
memory after being compiled and that's as much more memory as it needs for a call to that
function.
if you always get lotsa data in your results, using this function will decrease memory usage tho,
unless you use non-buffered queries (which are preferable unless you absolutely *have* to use
mysql_seek(), or you need to do another query while the last one hasn't finished reporting
back, as they can provide a small speedup)