bluerobotics / cockpit

An intuitive and customizable cross-platform ground control station for remote vehicles of all types.
https://docs.bluerobotics.com/ardusub-zola/software/control-station/Cockpit-1.0/overview/
Other
40 stars 18 forks source link

Memory leak in cockpit #1047

Open patrickelectric opened 3 days ago

patrickelectric commented 3 days ago

image

10min: image

20min: image

23min: image

Open cockpit -> move to another tab -> check task manager and observe the memory usage

patrickelectric commented 3 days ago

This does not happen when the vehicle is not connected

rafaellehmkuhl commented 3 days ago

In the standalone version I could also reproduce a leak, but not in the same magnitude. I got the following values:

Changing back to the Cockpit tab raised the memory to 900mb instantly.

joaoantoniocardoso commented 3 days ago

@rafaellehmkuhl seems exponential growth? image

rafaellehmkuhl commented 3 days ago

@rafaellehmkuhl seems exponential growth?

In my tests not, but in Patrick's yes.

I'm going to investigate that better.