Re: OutOfMemoryError with multipart/form-data

2004-05-15 Thread Joe Germuska
Is it some memory leak in MultiPartRequestWraper? It's not a leak; it's just how it's implemented. For every FormFile in an ActionForm, Struts (or actually, (commons-fileupload) allocates a byte[] buffer. The size of this buffer is controlled with the "memFileSize" property of the controller.

OutOfMemoryError with multipart/form-data

2004-05-15 Thread Marcin Korszeń
Hi, I'am working on dynamically sized form. Something like this: <% String count = (String)request.getSession().getAttribute("auctionDescriptionsCount"); %> I've got this scenario: 1.Chose my page with form 2.Click 3 times adddesc submit button (now i got 3 ) 3.Chose my page