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/[email protected]/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