Skip to content

Avoid potential loop without ever pushing out data

Timon Heim requested to merge data_gather_impr into devel

There could be a potential case where a StdDataGatherer loop keep accumulating RawData objects in a RawDataContainer if they come in short enough frequency. This could prevent the objects from being processed (and memory from being deallocated), which could result in an accumulation of data objects in memory without processing them.

Because a specific timing is needed this could explain why this only seen in some specific cases and hard to reproduce.

@msaimper Could you have a look if this helps in the specific case you reported that was reproducible.

Edited by Timon Heim

Merge request reports