... isn't writing chunks then concatenating them simply going to defer the memory consumption problem to the program doing the concatenation?
Nope. Concatenating files takes very little application memory unless you're trying to optimize disk head movement. Even then, the OS generally does a better job. Think
but in slighly larger chunks.while ( <IN> ) { print OUT $_; }
In reply to Re^3: Managing System Memory Resources
by dws
in thread Managing System Memory Resources
by Sandy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |