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 19:21:39 GMT


ASF GitHub Bot commented on ACTIVEMQ6-94:

Github user clebertsuconic commented on the pull request:
    @gaohoward if you are sending large messages this huge you will have to set the new setting
on producerWindowSize through the bridge. that's the only thing we should support.
    With a 50M min largeMessagesize you will be allocating huge buffers over the Native Layer
as well.. it's bound to fail.
    I have run your test with 3G files and it's working fine. So, this should be sufficient
to fix this issue on master. I really don't want any layer to wait on resendCache to exaust..
that will cause huge delays on average sized large messages (such as 10M, 1M..  since you
would require a round trip network for every chunk sent).
    I think we are fine with this fix here

> 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