[jboss-as7-dev] JBAS-9268: OOM when uploading content through HTTP API

Heiko Braun hbraun at redhat.com
Fri Apr 15 07:50:41 EDT 2011




I've run into a OOM issue when uploading content through the HTTP API again.
(https://issues.jboss.org/browse/JBAS-9268)


I did take a look at the current implementation and propose that we change it in the following way:

- read multipart contents from mime boundary
- replace the custom multipart stream implementation with a mature one (leans on apache commons fileupload)

I've got this changes  tested and verified in a custom branch:
https://github.com/heiko-braun/jboss-as/commits/out_of_memory

However before going ahead, I would like get some feedback from

a) the original author (Jonathan Pearlin. Welcome onboard btw)
b) Jason wrt the Apache License sources (See org.jboss.as.domain.http.server.multipart.asf.*)


Regards, Ike







More information about the jboss-as7-dev mailing list