[ https://issues.apache.org/jira/browse/CAMEL-7888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
christian ohr updated CAMEL-7888: --------------------------------- Attachment: CAMEL-7888.patch Attached Patch. A new test verifies that the MINA buffer does not grow out of bounds. Two more changes: * I updated MINA to 2.0.8. * The HL7MLLPEncoder now also accepts plain byte arrays (without re-converting them into a String and back into a byte array). This works better with marshal(hl7), which emits a byte array anyway. The patch should work for both trunk and 2.14 branch. > HL7Decoder leaks memory > ----------------------- > > Key: CAMEL-7888 > URL: https://issues.apache.org/jira/browse/CAMEL-7888 > Project: Camel > Issue Type: Bug > Components: camel-hl7 > Affects Versions: 2.12.0, 2.13.0, 2.14.0 > Reporter: christian ohr > Fix For: 2.14.1, 2.15.0 > > Attachments: CAMEL-7888.patch > > > Under constant load (i.e. Mina session never idles out), the HL7Decoder leaks > memory. In fact, all received messages are appended to Mina's IOBuffer, which > leads to OOME after some time. -- This message was sent by Atlassian JIRA (v6.3.4#6332)