I am looking into using ros2 and have done some testing on sending images between nodes using intraprocess communication. It seems like the memory usage is slowly increasing for all publishing nodes where intra-process communication is activated. This is regardless of any intra-process subscribers.
The same nodes with intra-process communication turned off does not have increasing memory usage.
I am currently using the default Fast-rtps implementation. I first noticed the problem in the “latest-release”, but checked out the master branch yesterday to see if the problem was fixed. (it wasn’t).
It can be reproduced by running the intra-process-demo image nodes.
Is it possible to fix this?