Alex Rudyy created QPID-7475:
--------------------------------

             Summary: [Java Broker] Small persistent messages published with 
0-9 protocol consume to much heap space
                 Key: QPID-7475
                 URL: https://issues.apache.org/jira/browse/QPID-7475
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
    Affects Versions: qpid-java-6.1
            Reporter: Alex Rudyy


With default memory settings (512M of heap and 1.5G of direct memory) Broker 
should allow publishing of 508896 messages of size 1000bytes according to [the 
formula for estimation of heap 
size|http://qpid.apache.org/releases/qpid-java-6.0.4/java-broker/book/Java-Broker-Runtime-Memory.html#Java-Broker-Runtime-Memory-Tuning].
 However, in my test with single connection and single queue I only managed to 
publish 367301 persistent messages of size 1000bytes . The heap space was fully 
occupied and Full GC was running nonstop making broker unusable. I can publish 
508896 persistent messages with 0-10 protocol without any issue. We need top 
optimize memory consumption by persistent messages on 0-9 path.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to