[ 
https://issues.apache.org/jira/browse/ARTEMIS-2193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16714555#comment-16714555
 ] 

Konrad Kaczkowski edited comment on ARTEMIS-2193 at 12/10/18 10:46 AM:
-----------------------------------------------------------------------

[~nigro....@gmail.com] I have tried your 1) proposed approach, didn't work 
neither. I have run the broker with 50Mb of heap and 15Mb per # address. I have 
tried three scenarios of producers (still publishing every 100 ms):
 1) 100 kB
 2) 10 kB
 3) 1 kB
 Unfortunately all 3 have failed within less than 1 minute. So I'm not sure if 
the problem is related to the large messages... Still, using AMQP on the 
contrary, it was fine.


was (Author: kkaczkow):
[~nigro....@gmail.com] I have tried your 1) proposed approach, didn't work 
neither. I have run the broker with 50Mb of heap and 15Mb per # address. I have 
tried three scenarios of producers (still publishing every 100 ms):
1) 100 kB
2) 10 kB
3) 1 kB
Unfortunately all 3 have failed. So I'm not sure if the problem is related to 
the large messages... Still, using AMQP on the contrary, it was fine.

> Artemis fails on OutOfMemoryError with fast producers
> -----------------------------------------------------
>
>                 Key: ARTEMIS-2193
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2193
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker, OpenWire
>    Affects Versions: 2.7.0, 2.6.3
>            Reporter: Konrad Kaczkowski
>            Priority: Critical
>              Labels: performance
>         Attachments: artemis.log, broker.xml, jvm-gc.log, resources_usage.png
>
>
> The broker fails on OOM Error in a couple of hours of testing with fast 
> producers:
>  * The Artemis broker with heap size of 2Gb, global-max-size of 400Mb, and 
>  global address-setting to apply DROP policy whenever memory exceeds 150Mb 
>  (max-size-bytes). 
>  - Two fast producers sending 100 KB messages to 2000 topics every 100 ms 
> each 
>  - Client used: ActiveMQ 5.15.2 JMS
>  - Tested on Artemis 2.6.3 and 2.7.0-SNAPSHOT
>  - Testing time: 2 - 10 h until OOME occurs
> The heap size grows continuously until it runs of out memory. I tested 
> DROP/PAGE/FAIL strategies with no difference. Attached are the log and the 
> broker.xml configuration.
>  
> Expectation: Having sharp memory limits the broker should handle with 
> dropping messages on time.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to