note 98118 rejected from function.stream-copy-to-stream by danbrown
| Newsgroups | php.notes |
|---|---|
| Message-ID | <[email protected]> |
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.