vijaya created PROTON-2280:
------------------------------
Summary: qpid proton example broker memory increase linearly
Key: PROTON-2280
URL: https://issues.apache.org/jira/browse/PROTON-2280
Project: Qpid Proton
Issue Type: Bug
Components: release
Affects Versions: proton-c-0.32.0
Environment: qpid-proton-0.32.0, using yocto to build.
python send & recv example application
Reporter: vijaya
We are using Qpid proton framework for our internal messaging. Currently we are
using qpid-proton-0.31.0, and we found memory leaks in qpid-proton, hence we
wanted to check the latest release to see if they got fixed.
When we tried qpid-proton-0.32.0, we are seeing our system memory consumption
grown significantly compared to old release, memory usage growing linearly with
number of messages floating in system.
To check if the issues on our side or with the latest version, we took the c++
example broker and python example applications.
Broker:
[https://qpid.apache.org/releases/qpid-proton-0.32.0/proton/cpp/api/direct_send_8cpp-example.html]
Applications:
[https://qpid.apache.org/releases/qpid-proton-0.18.1/proton/python/examples/simple_send.py.html]
[https://qpid.apache.org/releases/qpid-proton-0.18.1/proton/python/examples/simple_recv.py.html]
When we ran the send & recv application for large number of messages, we see
that exaple proton-broker memory usage increase lineally.
Start of the example broker application:
5.1 MiB + 438.5 KiB = 5.5 MiB proton-broker
---------------------------------
247.8 MiB
=================================
After send/recv 100 messages:
5.8 MiB + 443.5 KiB = 6.3 MiB proton-broker
---------------------------------
259.5 MiB
=================================
After send/recv 10000 messages:
6.4 MiB + 443.5 KiB = 6.8 MiB proton-broker
---------------------------------
260.0 MiB
=================================
After send/recv 100000 messages:
11.5 MiB + 442.5 KiB = 11.9 MiB proton-broker
---------------------------------
266.1 MiB
=================================
OLD release showing better results compared to latest.
Could you please check and let us know if we are missing any configuration with
latest release.
We have not made any changes to CMakefile, used as it is with yocto.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]