[USRP-users] Memory leak when querying E310 temperature sensor

Daniel May danielmay83 at gmail.com
Tue Mar 1 22:52:27 EST 2016


Hello,

Using E310 image:
http://files.ettus.com/e3xx_images/e3xx-release-4/ettus-e3xx-sg1/sdimage-gnuradio-demo.direct.xz

linux; GNU C++ version 4.9.2; Boost_105700; UHD_003.009.002-0-unknown

The following program:

--------------------------------------------------------------------------------------
int main() {

  std::string args = "";

  uhd::usrp::multi_usrp::sptr usrp = uhd::usrp::multi_usrp::make(args);

  while(1) {
    usrp->get_mboard_sensor("temp").to_real();
  }

  return 0;
}
--------------------------------------------------------------------------------------

continuously consumes memory with each query to the sendor on the E310. I'm
not seeing this problem with any of the other E310 sensors, only the "temp"
sensor.

Can anyone confirm this behavior?

Thanks,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20160301/8f0f506c/attachment-0002.html>


More information about the USRP-users mailing list