> Maybe taking a look at the source code would help you figure out why
> its giving you problems?

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

>> But my question is, why should uploading a file require so much
>> memory?  It's not like it tries to read the whole file into memory, or
>> does it?  If so, that seems kinda dumb.

So yes, it seems like it does read in the entire file into memory.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to