Hi,
I am attempting to download some very large files for a data extraction. I have a Java application that reads through a spreadsheet, and gets info about the file to download. I'm using the Content Web Service to download so theoretically it should be chunking it out.
Here is the function with the line that stack traces hilighted:
And here is the actual stack trace:

I am generating the ContentService client using the WSUtils class from the LLTree example where they set the chunk size, i.e
// instruct the connections to use chunked transfer encoding to support large files
( (BindingProvider) endpoint ).getRequestContext().put( JAXWSProperties.HTTP_CLIENT_STREAMING_CHUNK_SIZE, 1024000 );
setSoapHeader( (WSBindingProvider) endpoint, token );
I tried setting this chunk size extremely small but that wasn't enough. I'm on a somewhat memory limited machine (4GB RAM) and the file is 32 MB in size.
Can anyone help???
-Hugh Ferguson