Comments (3)
So I've created a fix for this on a fork of this repo.
In fact I've taken a slightly different approach for the TCP connection, I've implemented a persistent connection for each published topic.
Note that so far this only implemented on my fork for publishers and I've not implemented services or subscribers.
In any case, feel free to look at the changes I've made on these forks and branches for inspiration on how to fix the memory leak.
Endpoint:
https://github.com/P3TE/ROS-TCP-Endpoint/tree/persistent-tcp-connections
TCP Connector:
https://github.com/P3TE/ROS-TCP-Connector/tree/persistent-tcp
from ros-tcp-endpoint.
Hey @P3TE! We'll take a look into this. We realized the for t in threads:
block is unreachable--this has been addressed in our dev
branch.
from ros-tcp-endpoint.
Thanks for pointing that out. On the dev branch I've removed the threads array.
from ros-tcp-endpoint.
Related Issues (20)
- ROS_TCP_ENDPOINT fresh out of the box build can't find python HOT 1
- Wrong usage of mock.called_once HOT 2
- Docker container memory usage increases with time, possible memory leak HOT 5
- ROS 2 Release HOT 3
- Publishers / subscribers are never closed when connection closes
- Potential memory leak when creating Unity subscriber HOT 3
- Expose the queue_size functionality in the RegisterSubscriber sys_command HOT 1
- Process exit, rclpy._rclpy_pybind11.InvalidHandle: cannot use Destroyable because destruction was requested HOT 2
- Open File Leak
- When I publish a jpeg image to ROS I receive this error
- /usr/bin/env: βpythonβ: No such file or directory HOT 1
- Need a "Subscribe" override that the callback function can know which topic the message is arrived from HOT 1
- ROS2 windows error : CMake Error at CMakeLists.txt:4 (find_package) HOT 3
- Method to know if a service server on ROS side is up and ready
- Disabled ubuntu uncomplicated firewall (ufw) causes ROS-Unity Connection issues between two machines, Documentation should be updated to include issue
- ROS2 - Can't unsubscribe HOT 1
- ros_tcp_endpoint can't connect to ros2 rolling
- Upgrade from 0.6 to 0.7 broke Python version
- failed to deserialize ROS message: Fast CDR exception deserializing message of type std_srvs::srv::dds_::Empty_Response_. HOT 1
- implement ROS-TCP-ENDPOINT with C++
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ros-tcp-endpoint.