Flint: Fix memory leak
This MR fixes the main memory leak in Flint.
- Remove Qt parent from Flint
Data
object (so what python manage there life cycle) - Break ref cycle between object of the plot using weakref
- Reimplement
DeviceProxy
method__repr__
, and__str__
(which are buggy in PyTango) (see https://github.com/tango-controls/pytango/issues/298) - Add few helper to monitor the memory
Here is the result after 600 scans (in KB). There is maybe still something but it's much better than before. (tested with the monitoring enabled)