|
|
Choosing A Webhost: |
Found a bug (or at least a flaw) in Appach's commons-fileupload V 1.0: msg#00005apache.commons.general
Extreme high memory use when using multipart HTML-forms. Problem is obvious with following constellation: - HTML-form with a lot of normal text input fields (like a 20x20 matrix = 400 fields) . - Use of multipart/form-data in the HTML-form (because you may intend to upload the data using a fileupload-filed (optional)) - Setting commons-fileupload's setSizeThreshold(1000000) (1M or higher) Reaction: commons-fileupload will now reserve 1M for *each* field in memory. Thus reserving at least 400M memory!! 1M for each simple text filed. Correction: Do not reserve memory in advance! Allocate on the fly and use the threshold only as limit. - - - - - - - - - - - - - - - - - - - - Regards Sam Blum
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: move rcsparse (python) package to the ASF?, scott |
|---|---|
| Next by Date: | [FileUpload] Re: Found a bug (or at least a flaw) in Appach's commons-fileupload V 1.0, Rob Oxspring |
| Previous by Thread: | move rcsparse (python) package to the ASF?, Greg Stein |
| Next by Thread: | [FileUpload] Re: Found a bug (or at least a flaw) in Appach's commons-fileupload V 1.0, Rob Oxspring |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |