i concatenated vectors from a stream using (stream/transform (mapcat identity) s)
this seemed to cause a leak as described here: mpenet/alia#115
investigation showed lots of our EntityInstance records from db queries referenced from the downstream graph metadata in manifold.stream.graph/handle->downstreams - however the system making the queries was running ok, and since it mostly reduces over streams to get results, it seems that streams were being closed yet somehow remaining in the handle->downstreams map
i'm inferring that it's the stream/transform causing the problem because replacing it with a simple connect-via got rid of the memory leak
i've tried to repro this problem in isolation, and so far failed to do so, but i'm creating this issue in case anyone else has been observing similar behaviour
i concatenated vectors from a stream using
(stream/transform (mapcat identity) s)this seemed to cause a leak as described here: mpenet/alia#115
investigation showed lots of our
EntityInstancerecords from db queries referenced from the downstream graph metadata inmanifold.stream.graph/handle->downstreams- however the system making the queries was running ok, and since it mostly reduces over streams to get results, it seems that streams were being closed yet somehow remaining in thehandle->downstreamsmapi'm inferring that it's the
stream/transformcausing the problem because replacing it with a simpleconnect-viagot rid of the memory leaki've tried to repro this problem in isolation, and so far failed to do so, but i'm creating this issue in case anyone else has been observing similar behaviour