GitHub user andmoos opened a pull request: https://github.com/apache/camel/pull/1191
Fix: OutOfMemoryErrors due to not explicit closed Deflater The Deflater usage in this class might cause OutOfMemoryErrors. These will arise in high-load + high-ram-jvm scenarios as the GC cannot monitor the Deflater's internal native buffer. """ Caused by: java.lang.OutOfMemoryError: null at java.util.zip.Deflater.init(Native Method) at java.util.zip.Deflater.<init>(Deflater.java:171) at java.util.zip.Deflater.<init>(Deflater.java:180) at org.apache.camel.impl.ZipDataFormat.marshal(ZipDataFormat.java:58) at org.apache.camel.processor.MarshalProcessor.process(MarshalProcessor.java:81) ... 33 common frames omitted """ You can merge this pull request into a Git repository by running: $ git pull https://github.com/andmoos/camel patch-1 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/camel/pull/1191.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1191 ---- commit 3d941341b3eb333a3dab2b4879c1a3ebf368bc1a Author: Andreas <andm...@users.noreply.github.com> Date: 2016-09-28T13:13:14Z Fix: OutOfMemoryErrors due to not explicit closed Deflater The Deflater usage in this class might cause OutOfMemoryErrors. These will arise in high-load + high-ram-jvm scenarios as the GC cannot monitor the Deflater's internal native buffer. """ Caused by: java.lang.OutOfMemoryError: null at java.util.zip.Deflater.init(Native Method) at java.util.zip.Deflater.<init>(Deflater.java:171) at java.util.zip.Deflater.<init>(Deflater.java:180) at org.apache.camel.impl.ZipDataFormat.marshal(ZipDataFormat.java:58) at org.apache.camel.processor.MarshalProcessor.process(MarshalProcessor.java:81) ... 33 common frames omitted """ ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---