Share

Multipart HTTP Servlet Request

Tracker: Bugs

7 Out Of Memory Errors - ID: 460986
Last Update: Settings changed ( dlkinney )


I was trying to upload a BIG file of about 20MB and
get Out Of MemoryError on Servlets. Any ideas about
what the cause might be or Am I doing something
wrong ?

File upload upto 5MB seems to work fine.

Your help is greatly appreciated.
Abba


Nobody/Anonymous ( nobody ) - 2001-09-12 19:21

7

Closed

Postponed

David L Kinney

None

None

Public


Comments ( 2 )




Date: 2002-03-12 15:33
Sender: dlkinney

Logged In: YES
user_id=140861

This is not a bug in Marsh; Marsh is fairly
memory-efficient. Please make sure that the JVM has been
allocated enough heap space to handle large files. Also,
there may be some memory mis-management by the Servlet
engine or JavaMail implementation(s) being used that
duplicates the data multiple times. Marsh 2.0 will allow
selection of different parsing engines and provide a slower,
but very memory-efficient, parsing engine.

- David


Date: 2001-10-02 19:59
Sender: nobody

Logged In: NO

I ran into the same thing. 20MB file. This
was with Tomcat 4.0 on a RedHat linux machine.


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 5 )

Field Old Value Date By
close_date - 2002-03-12 15:39 dlkinney
status_id Open 2002-03-12 15:39 dlkinney
resolution_id None 2002-03-12 15:33 dlkinney
priority 5 2002-03-12 15:33 dlkinney
assigned_to nobody 2002-03-12 15:33 dlkinney