Hi Wim! Thanks for the config option. And no, my next question will be: "If you use so much memory to upload a large file, why do you return a temporary file in the file system and not a memory buffer?" and after that "What about a callback function when next chunk arrives?"
On Wed, Feb 24, 2010 at 5:45 PM, Wim Dumon <[email protected]> wrote: > Hi Alex, > > Just took a look at this - It's a feature that file uploads are > limited to 40MB. That was hard compiled in in the request parser; I > made it a startup option now (--max-request-size), which defaults to > 40MB. As usual, you can also put it in the http config file. This > patch will be in git soon. > > Your next question will be: 'Why does Wt use so much memory when I > upload a large file?'. > > Best regards, > Wim. > > > > 2010/2/22 Alex Sadovsky <[email protected]>: >> Hello Wim! >> >> It's built-in httpd on W7-pro. I'm using Wt-3.0.0. >> >> Thanks. >> >> On Mon, Feb 22, 2010 at 7:13 PM, Wim Dumon <[email protected]> wrote: >>> Hello Alex, >>> >>> What platform and what connector are you using? >>> >>> Best regards, >>> Wim. >>> >>> 2010/2/22 Alex Sadovsky <[email protected]>: >>>> Hello! >>>> >>>> I'm trying to use WFileUpload to upload a large (100MB) file. I >>>> chnaged max-request-size to 512000, but when I try to upload something >>>> large than ~32MB just nothing happens. Neither "uploaded" not >>>> "fileTooLarge" is emited and I can see no disk or network activity. Is >>>> there anything else I should change in the configuration? >>>> >>>> Thanks. >>>> >>>> ------------------------------------------------------------------------------ >>>> Download Intel® Parallel Studio Eval >>>> Try the new software tools for yourself. Speed compiling, find bugs >>>> proactively, and fine-tune applications for parallel performance. >>>> See why Intel Parallel Studio got high marks during beta. >>>> http://p.sf.net/sfu/intel-sw-dev >>>> _______________________________________________ >>>> witty-interest mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/witty-interest >>>> >>> >>> ------------------------------------------------------------------------------ >>> Download Intel® Parallel Studio Eval >>> Try the new software tools for yourself. Speed compiling, find bugs >>> proactively, and fine-tune applications for parallel performance. >>> See why Intel Parallel Studio got high marks during beta. >>> http://p.sf.net/sfu/intel-sw-dev >>> _______________________________________________ >>> witty-interest mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/witty-interest >>> >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> witty-interest mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/witty-interest >> > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > witty-interest mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/witty-interest > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
