Java OutOfMemory error in filter
- by The Machine
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 ?