https://bz.apache.org/bugzilla/show_bug.cgi?id=64001

Dominik Stadler <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All
           Severity|normal                      |enhancement
            Version|unspecified                 |4.1.1-FINAL
         Depends on|                            |63569

--- Comment #1 from Dominik Stadler <[email protected]> ---
This is mostly caused/fixed by bug 63569 which prevents to set a custom limit
currently.

The default limits should be set so memory allocations are guarded and still
almost all files can be processed. There always will be possibility to
encounter files with bigger sizes. 

So we do not want to set the default to the largest file out there as it would
defeat the purpose of this functionality, i.e. to avoid allocating unexpected
high amounts of main memory.


Referenced Bugs:

https://bz.apache.org/bugzilla/show_bug.cgi?id=63569
[Bug 63569] toByteArray(InputStream stream) in IOUtils may fail if
setByteArrayMaxOverride() is used
-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to