Closed evry8 closed 1 month ago
Hi @evry8, thanks for your report. I've run your example using Valgrind to look for memory leaks, and if the program finished properly, no memory leaks were detected.
According to our CONTRIBUTING.md guidelines, I am closing this issue due to inactivity. Please feel free to reopen it if necessary providing a more detailed reproducer and instructions.
Is there an already existing issue for this?
Expected behavior
none
Current behavior
I created a publisher and a subscriber, and in order to make the phenomenon of memory increase more noticeable, the publisher and subscriber created 100 datawriters and datareaders respectively. When I started both programs at the same time, they sent messages normally, and then I used the ENTER key to control the subscriber program to continuously exit and recreate. Every time I press the ENTER key, I notice that the subscriber's memory increases in System Monitor.However, this phenomenon does not cause remote subscribers to experience a memory increase.
Steps to reproduce
HelloWorldExample.tar.gz 1.I used fastdds version is 2.14.0,system : ubuntu23, GCC:12.3.0 2.build this HelloWorldExample 3.run publisher command:DDSHelloWorldExample publisher -s 10000 4.run subscriber command:DDSHelloWorldExample subscriber -s 1 5.open System monitor 6.click ENTER and see System monitor about subscriber
Fast DDS version/commit
2.14.0
Platform/Architecture
Other. Please specify in Additional context section.
Transport layer
Default configuration, UDPv4 & SHM
Additional context
No response
XML configuration file
No response
Relevant log output
No response
Network traffic capture
No response