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"
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:
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
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