Out of memory with multipart/form-data and lot of checkboxes

2003-10-27 Thread Zsolt Koppany
Hi,

in a form where the user can upload a file and set some attributes with
checkbox (couple oh hundreds) I get an out of memory exception even when the
file is very small (300 bytes). After some testing I figured out that it is
caused by enctype=multipart/form-data. If I removed that I cannot upload
(this is clear) but JVM doesn't increase.

Any ideas?

Zsolt



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Out of memory with multipart/form-data and lot of checkboxes

2003-10-27 Thread Christopher Schultz
Zsolt,
in a form where the user can upload a file and set some attributes with
checkbox (couple oh hundreds) I get an out of memory exception even when the
file is very small (300 bytes). After some testing I figured out that it is
caused by enctype=multipart/form-data. If I removed that I cannot upload
(this is clear) but JVM doesn't increase.
How are you handling the file upload? There are several existing 
multipart form handlers out there... did you roll your own?

-chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Out of memory with multipart/form-data and lot of checkboxes

2003-10-27 Thread Zsolt Koppany
Chris,

I work with struts-1.1.

Zsolt

-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Monday, October 27, 2003 8:34 PM
To: Tomcat Users List
Subject: Re: Out of memory with multipart/form-data and lot of
checkboxes


Zsolt,
 in a form where the user can upload a file and set some attributes with
 checkbox (couple oh hundreds) I get an out of memory exception even when
the
 file is very small (300 bytes). After some testing I figured out that it
is
 caused by enctype=multipart/form-data. If I removed that I cannot upload
 (this is clear) but JVM doesn't increase.

How are you handling the file upload? There are several existing
multipart form handlers out there... did you roll your own?

-chris


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]