Increasing memory usage for publishing nodes with enabled intra-process communication

My program is actually not using OpenCV, and valgrind does not report memory leaks (even if the memory usage is increasing). However when I look at the memory usage in htop, the RES tab for my program it increases (quite slowly). I ran a test over the weekend, and the memory usage had continued to increase the whole weekend. When i turned off intra process communication and ran it over night, the RES tab showed no increase in memory usage…

I suspect that the pointers used in for the intra process communication are stored somewhere, or something like that.