Re: [appfuse-user] Out of Memory sending a file

2008-03-27 Thread Jonathan Ritchie
Thanks again Matt - switching off the zip filter made the problem go away. This indicates the filter is doing something pretty naive when it comes to memory use. Kai - the problem was not initial settings. The webapp needs to be able to serve a file of indeterminate size so it just cant use "much"

Re: [appfuse-user] Out of Memory sending a file

2008-03-26 Thread Kai Moritz
On Wednesday 26 March 2008 17:41:40 Jonathan Ritchie wrote: > Hello > > I am trying to do some pretty simple stuff sending some large files > from a servlet. > > The response is just a standard HttpServletResponse. The code looks > something like this: > > > java.lang.OutOfMemoryError:

Re: [appfuse-user] Out of Memory sending a file

2008-03-26 Thread Matt Raible
You can turn off GZipping of your pages by commenting out the gzipFilter's filter-mapping in your web.xml. Matt On Wed, Mar 26, 2008 at 9:41 AM, Jonathan Ritchie <[EMAIL PROTECTED]> wrote: > Hello > > I am trying to do some pretty simple stuff sending some large files > from a servlet. > > The

[appfuse-user] Out of Memory sending a file

2008-03-26 Thread Jonathan Ritchie
Hello I am trying to do some pretty simple stuff sending some large files from a servlet. The response is just a standard HttpServletResponse. The code looks something like this: --- response.setHeader(HTTP_CONTENT_DISPOSITION, "attachment; filename=" + fileName); response.setContent