Blks2.pfb_arb_resampler memory leak

Running the following in a loop 10,000s to 100,0000s of times (I will
spare
the details as to why)

digital_resamp_1 = blks2.pfb_arb_resampler_ccf(.768)

Causes the program’s memory usage to grow continuously over time. The
same
behavior is not observed with any other blocks in my flow graph and
occurs
even if this block is created and not connected to anything.

Can I assume this is unexpected, or is there a reason why I should not
create 100,000s of these and expect them to clean up after themselves?

Ryan

On Sun, Nov 25, 2012 at 5:43 PM, Thomas R. [email protected]
wrote:

I see the problem. d_diff_filters are not being freed in the
constructor. I’ll push a fix once I get to my hotel later tonight.

Tom

Well, travel delays meant that ‘later tonight’ became 2:30 AM, so this
had to wait until morning. I just pushed a fix to maint/master/next to
resolve this memory leak.

Thanks for point it out!

Tom

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs