note 98118 rejected from function.stream-copy-to-stream by danbrown

[email protected]
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.