bspwm: Memory leak when openning many tabs
Experiment
- Measure memory usage after boot (in my case it is ~800M)
- Hold
win+Enterfor a while - Obviously, your memory usage will grow (in my case it becomes ~5000M)
- Then kill all opened terminal windows
- Get memory usage larger then at the start (in my case 1800)
Question
How to fix it?
About this issue
- Original URL
- State: open
- Created 2 years ago
- Comments: 18
I stopped using Alacritty because of these memory leaks. I think that this is not BSPWM problem at all.
Try reproducing this with a minimal amount of external factors: for example when picom & polybar are not running.
Which processes are actually using more memory?
Also, i’ve tried to measure memory usage by
htop, but it is very strange that it doesnt show all of memory consumers. For examle, when I was fixing mypicom(by the way it was about memory consumption too) I tried to analyze memory usage inhtoptoo, but it was showing that everything was ok. The problem was in the fact thatpicomwas rerendering window again and again, so my memory said goodbye. It makes me mad sometimes whenhtophides some essential information from me