100% CPU usage
zfwerle opened this issue · 0 comments
Hi!
I'm facing an issue using rviz_satellite on ubuntu 20.04 with ros noetic.
While the robot is moving the cpu usage of rviz sometimes goes up to 100% and stays at that high level.
It seems like it is related to a combination of moving the robot and trying to load new tiles while loosing the internet connection.
The tile_downloader is trying to load tiles but throws a lot of erros "Got error when loading tile: Host tile.openstreetmap.org not found" which makes sense when the internet connection is broken.
But this error is thrown at a frequency below 1 millisecond and after having an internet connection again the cpu usage of rviz stays at 100% making it unusable.
Is someone facing the same issue or is this behavior already known?
Is it correct to call "reply->deleteLater()" after possible returns in the downloadFinished function?
Won't the reply flood the memory after returning without calling deleteLater()?
Thanks a lot in advance!