Java OutOfMemory error in filter

Posted by The Machine on Stack Overflow See other posts from Stack Overflow or by The Machine
Published on 2010-03-19T09:20:18Z Indexed on 2010/03/19 9:31 UTC
Read the original article Hit count: 579

Filed under:
|
|

I get a java.lang.outOfMemoryError exception, while writing a big file to the servletOutputStream. Every response is by default wrapped using a ehcache.constructs.web.filter Object for GZIP compression. And as per the logs, the exception is thrown in the Filter object. Is there a way to increase the available memory so, that the outOfMemoryError Exception does not occur ?

© Stack Overflow or respective owner

Related posts about java

Related posts about outofmemoryerror