| Reporter: |
|
Vimil Saju |
| Created: |
|
Wed, 12 Oct 2005 15:36:38 -0700 (PDT) |
| Updated: |
|
Thu, 14 Aug 2008 02:35:33 -0700 (PDT) |
| Key: |
|
FILEUPLOAD-59 |
| Versions: |
|
Not provided |
| Environment: |
|
Operating System: All
Platform: All |
| Priority: |
|
3 |
| Status: |
|
Closed |
| Resolution: |
|
Fixed |
| Original Link: |
|
http://issues.apache.org/jira/browse/FILEUPLOAD-59 |
| Summary: |
|
[fileupload] Memory Issue |
Description:
The reason for out of memory exception is that a FileItem object is created for
each request parameter whether it is file or an ordinary string parameter. the
FileItem object has a field of type DeferredFileStream which is initialized to
262144 bytes (256 Kb) so if there are around 1000 request parameters, around
256 MB of space will be required to hold the request parameters even though
most parameters may require only 8 to 10 bytes of memory for storage.
Comments:
| martinc |
Sat, 29 Oct 2005 21:21:43 -0700 (PDT) |
| kaifu |
Wed, 27 Jun 2007 19:22:28 -0700 (PDT) |
| jochen |
Wed, 27 Jun 2007 23:06:19 -0700 (PDT) |
| kaifu |
Wed, 27 Jun 2007 23:32:27 -0700 (PDT) |
| jochen |
Wed, 27 Jun 2007 23:39:40 -0700 (PDT) |
| kaifu |
Thu, 28 Jun 2007 00:30:28 -0700 (PDT) |
| purushottam nawle |
Thu, 14 Aug 2008 02:32:42 -0700 (PDT) |
| purushottam nawle |
Thu, 14 Aug 2008 02:35:33 -0700 (PDT) |