I'm using a pi zero for providing a rtl_tcp stream.
For monitoring purposes, I'm testing the stream by taking some data samples.
I have to close the connection to give real consumers a chance to catch the stream.
Therefore, I have to open and close the stream at every interval (now, 1sec).
After a while, my swap ran out of space. Therefore everything got stuck ...
I disabled swap, and now the memory usage rises to the physical limit - dead.
It seems that memory allocation for connections is not being managed by a garbage collector...