Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Does it copy the file in batches, or does it stream the file through memory, reading and writing simultaneously?

share|improve this question
2  
The same way it does for files smaller than available RAM. Processes don't normally concern themselves with the availability or size of physical memory. –  David Schwartz Mar 1 '12 at 6:42

1 Answer 1

Reading and writing simultaneously usually means that a fixed size is read (let's say 1024kb) and then written immediately. It's useless to read and write 1b at a time.

Basically it streams the file, but in chunks.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.