[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] blks2.pfb_arb_resampler memory leak
From: |
Tom Rondeau |
Subject: |
Re: [Discuss-gnuradio] blks2.pfb_arb_resampler memory leak |
Date: |
Mon, 26 Nov 2012 10:38:17 -0500 |
On Sun, Nov 25, 2012 at 5:43 PM, Thomas Rondeau <address@hidden> 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
> On Nov 25, 2012, at 4:48 PM, Ryan Pape <address@hidden> wrote:
>
>> 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
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> address@hidden
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio