Request size limitation when using MultipartHttpServletRequest of Spring 3.0

Posted by Spiderman on Stack Overflow See other posts from Stack Overflow or by Spiderman
Published on 2010-12-29T14:08:27Z Indexed on 2010/12/29 14:53 UTC
Read the original article Hit count: 244

Filed under:
|
|
|

I'd like to know what is the size limitation if I upload list of files in one client's form submition using HTTP multipart content type. On the server side I am using Spring's MultipartHttpServletRequest to handle the request. mM questions:

  1. Is there should be different file size limitation and total request size limitation or file size is the only limitation and the request is capable of uploading 100s of files as lonng as they are not too large.
  2. Doest the Spring request wrapper read the complete request and store it in the JAVA heap memory or it store temporaray files of it to be able to use big quota.
  3. Is the use of reading the httpservlet request in streaming would change the size limitation than using complete http request read at-once by the application server.
  4. What is the bottleneck of this process - Java heap size, the quota of the filesystem on which my web-server runs, the maximum allowed BLOB size that the DataBase in which I am gonna save the file alows? or Spring internal limitations?

Related threads that still don't have exact answer to this:

© Stack Overflow or respective owner

Related posts about java

Related posts about spring