1003894 Java OutOfMemory Issue. Turn off zk gzip compression - it is suspected that the zk gzip compression implementation leave many Deflater object over time that relying on finalizer thread to perform clean up. The finalizer thread failed to keep up and eventually cause OOM error.

This commit is contained in:
Heng Sin Low 2014-04-10 11:57:11 +08:00
parent 1d117110de
commit 8ecad8bea8
1 changed files with 8 additions and 0 deletions

View File

@ -84,6 +84,10 @@
<param-name>update-uri</param-name>
<param-value>/zkau</param-value>
</init-param>
<init-param>
<param-name>compress</param-name>
<param-value>false</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
@ -100,6 +104,10 @@
<servlet-class>
org.zkoss.zk.au.http.DHtmlUpdateServlet
</servlet-class>
<init-param>
<param-name>compress</param-name>
<param-value>false</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>auEngine</servlet-name>