activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (ACTIVEMQ6-94) HornetQ Bridge does not handle large messages
Date Thu, 23 Apr 2015 11:58:38 GMT


ASF GitHub Bot commented on ACTIVEMQ6-94:

Github user gaohoward commented on the pull request:
    Ok although the unit test pass, but with manual test I sometimes got OOM still. Look at
this code in ChannelImpl.send():
    When sending a large, each packet holds a chunk of it, and because it's stored in the
resendCache, it doesn't get gc'ed after the bytes are sent to the other node. Eventually before
the large send complete, all previous sent chunks will be held in memory. 
    any comment?

> HornetQ Bridge does not handle large messages
> ---------------------------------------------
>                 Key: ACTIVEMQ6-94
>                 URL:
>             Project: Apache ActiveMQ 6
>          Issue Type: Bug
>    Affects Versions: 6.0.0
>            Reporter: Howard Gao
>            Assignee: Howard Gao
>             Fix For: 6.1.0
> When sending a large message that exceeds the size of Integer.MAX_VALUE, the bridge will
get negative chunk size during fowarding. And the resend cache is not limited so there is
a potential that it may get OutOfMemory exception.
> Related jira:

This message was sent by Atlassian JIRA

View raw message