On Wed, Feb 24, 2010 at 10:53:49AM +0100, Christian Kisters wrote: > Hi, > > Like in the old thread '[Discuss-gnuradio] memory leak when creating several > usrp2 objects' from > 'Jakob Meineke Thu, 30 Jul 2009 09:52:20' > http://www.mail-archive.com/discuss-gnuradio@gnu.org/msg20403.html > the problem with the memory leak still exists. > > > The memory usage increases while creating several USRP2s in C. > > usrp2::usrp2::sptr u2; > for (int i=0;i<20;i++) > { > U2.reset(); > u2 = usrp2::usrp2::make("eth0",""); > } > > The used memory will be released only by closing the program. So it's > expected that the memory runs out of its limits. > > Has someone an idea how to fix this problem? > > Best regards > Chrisitan
Thanks Christian for pointing out the problem. I'll take a look at this, but it may be a few days. How much is it leaking per iteration? How are you determining how much it's leaking? Thanks! Eric _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio