note 98118 rejected from function.stream-copy-to-stream by danbrown
| From: | danbrown@php.net | Date: | Wed, 26 May 2010 23:41:16 +0000 |
| Subject: | note 98118 rejected from function.stream-copy-to-stream by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-169638@lists.php.net to get a copy of this message | ||
Note Submitter: felix dot nensa at gmail dot com
----
It looks like stream_copy_to_stream (at least in PHP 5.1.6 64-bit) does not deallocate buffers while
copying.
Just tested it with a 500 MB file and it ate all my memory.