M7S / dockbarx

289 stars 40 forks source link

Memory leaks with preview enabled #147

Open alegru opened 4 years ago

alegru commented 4 years ago

Quickly hovering over multiple preview windows leads to growing memory usage, easily 100MB per second. I need to kill the dockbarx process every few hours to reclaim memory. I believe this was caused with the way M7S#113 was fixed, setting XDisplay to None in dockbarx/common.py stops the leakage, but the preview obviously doesn't work then. I'm on a current Arch Linux and dockbarx (gtk3) with the xfce4 plugin, and python-xlib v0.27

xuzhen commented 4 years ago

fixed in https://github.com/xuzhen/dockbarx/commit/087436756a59c96c46b2b661d01fe1a7c12d7ba9, waiting for #142 to be merged

alegru commented 4 years ago

Confirmed working. Thank you very much!