Closed peci1 closed 2 years ago
could be fixed by https://github.com/ignitionrobotics/ign-gui/pull/287
Probably not everything is fixed by #287 - 4.6.0 is also affected...
6.2.0 is not affected
5.3.0 is also good, so this is only a problem in Dome.
hmm I see that ign-gui 4.6.0 was released with the mem leak fix. If it's still leaking, the bug could be somewhere else. https://github.com/ignitionrobotics/ign-gui/pull/340/files#diff-c275fec9c453c2a42515bc5ab47e30fa4130ff1426aef2f6e000a9a34e122cb8R19
As said earlier, ImageDisplay started leaking with non-RGB images in 4.4.0 (the big refactoring to start using convertToRgb()
).
@darksylinc any idea why is it still leaking even using 4.6.0 with #212 merged?
Yep, ign-gui is definitely using common::Image and look at that! It's in ImageDisplay!
That's most likely the cause.
@darksylinc Thanks a lot for your help. I backported your ign-common fix ( ignitionrobotics/ign-common#287 ) and now memory consumption is stable even in Dome!
Just catching up with this, can this issue be closed?
Yes!
Environment
Description
Steps to reproduce
gui_leak.sdf
```ign gazebo -v4 gui_leak.sdf -r -s
ign gui -v4 -s ImageDisplay
htop
Analysis
This happens in GUI 4.4.0, but not in 4.3.0. My guess is that #212 is the problematic commit, but I haven't found a way to use
git bisect
with Ignition (it jumps between gui 3 and gui 4 versions, which is not really easy to test).This happens for depth and thermal cameras. It does not happen for RGB cameras.