|
Re: [Discuss-gnuradio] memory leak when creating several usrp2 objects: msg#00396discuss-gnuradio-gnu
On Thu, Jul 30, 2009 at 06:40:00PM +0200, Jakob Meineke wrote: > Hi all, > > I have encountered a memory leak that seems to be related to the creation of > a usrp2_sink object. An admittedly stupid test case that shows the same > symptoms as my actual program is given below: Jakob, Thanks for the detailed report. I'm busy with something else today, perhaps somebody else on the list can take a look at this... Eric > import time > from gnuradio import gr > from gnuradio import usrp2 > > if __name__ == "__main__": > for i in range(5): > time.sleep(2) > usrp2.sink_16sc("eth0", "") > > I can then see that every two seconds the program takes up another ca. 24 MB > of RAM as seen with htop. This is with rev 11516 on ubuntu 8.10. > In the test case the problem goes away if one assigns the return value of > usrp2.sink_16sc as one would do of course to do anything sensible with a > usrp2. _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@xxxxxxx http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
|
|
||||||||||||||||||||||||||
|
|
|
| News | Mail Home | sitemap | FAQ | advertise |