I have a standalone application, that follows the following pattern:

While True:

  x  = dequeue()

  if X=A

    tb = gr.top_block()

    <create blocks>

    tb.connect(<blocks>)

    tb.run()
 if X=B

   similar but different set of blocks


Is this a right or wrong way to instantiate and use multiple flow graphs?
 I am creating an entirely new top_block() on each iteration, of which
there are 10-20 minute.  Over the course of several days, memory
consumption grows and performance slows.

As I try and narrow down the cause, I want to first rule out whether I am
doing anything wrong on the GNURadio side of the equation by how I am
creating and using multiple graphs.

Thanks
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to