https://issues.apache.org/bugzilla/show_bug.cgi?id=54990

Sebb <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Sebb <[email protected]> ---
(In reply to comment #0)
> When java call s.getResponseData(), it get an array of byte of the size
> 441MB. 

s.getResponseData() returns a pointer to the data array.

> The write method of the FileOutputStream class allocates the same
> space for writing data to a file, causing OutOfMemory.

Are you sure about that?
Which version of Java are you using?
Do you have a stack trace?

If FOS really does behave that way, the propsed fix would obviously help reduce
memory requirements.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to