[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] Memory leak when creating several USRP 2 objects in C
From: |
Christian Kisters |
Subject: |
[Discuss-gnuradio] Memory leak when creating several USRP 2 objects in C |
Date: |
Wed, 24 Feb 2010 10:53:49 +0100 |
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/address@hidden/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
- [Discuss-gnuradio] Memory leak when creating several USRP 2 objects in C,
Christian Kisters <=