High memory usage

Author: lahwaaczCreated May 7, 2016Updated Sep 28, 2026
Labelscomponent: performancepriority: 1 - middle

I have this habbit of not closing the browser (let alone the system) when I go to sleep, so as a result the uptime of my system is currently something over 20 days and ideally qutebrowser's uptime would have been close to that. But with an uptime just over a few days, I'm experiencing high memory usage:

$ ps_mem
...
234.2 MiB +  13.8 MiB = 248.0 MiB   Xorg
316.6 MiB +   3.2 MiB = 319.8 MiB   qpdfview
614.4 MiB +   2.8 MiB = 617.2 MiB   python2.7 (9)
  2.1 GiB +  10.4 MiB =   2.1 GiB   qutebrowser
---------------------------------
                          4.0 GiB
=================================

Regardless of the number of tabs in the session, memory usage drops down significantly by doing a :restart:

$ ps_mem
...
236.0 MiB +  13.9 MiB = 249.9 MiB   Xorg
316.7 MiB +   3.3 MiB = 320.0 MiB   qpdfview
445.4 MiB +  11.4 MiB = 456.7 MiB   qutebrowser
621.4 MiB +   2.9 MiB = 624.3 MiB   python2.7 (9)
---------------------------------
                          2.5 GiB
=================================

Is there anything I can do to see what's causing it? I found #1220 but that's not useful as a guide...