On Wed, Oct 13, 2010 at 8:31 PM, Wayne Fay <[email protected]> wrote: > > You probably want to look at the following lines in particular: > > 457 transfer( resource, input, output, requestType, Integer.MAX_VALUE > ); > 480 int remaining = maxSize; > //maxSize is Integer.MAX_VALUE > 483 int n = input.read( buffer, 0, Math.min( > buffer.length, remaining ) ); > //read in full file (up to Integer.MAX_VALUE in length) into buffer [memory] > 492 output.write( buffer, 0, n ); > //then write it out > > So yes, it seems like it does read in the entire file into memory.
I don't know. To me it looks like the code limits it to sending DEFAULT_BUFFER_SIZE (4K) at a time. Phillip --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
