Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
proton-c-0.32.0
-
None
-
None
-
qpid-proton-0.32.0, using yocto to build.
python send & recv example application
Description
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.