xelb
xelb copied to clipboard
High memory usage
Potentially caused by https://github.com/ch11ng/xelb/commit/bb3f395ec12f612e15177e4a452e4bbf501d0cec ?
- xcb:-connection-filter 1,547,982,057 56%
- xcb:-process-events 1,546,674,905 56%
- apply 1,546,674,905 56%
- #<compiled 0x1169dcd> 1,546,674,905 56%
- #<compiled 0x134c139> 1,475,424,408 53%
- xcb:keysyms:-on-NewKeyboardNotify 1,475,424,408 53%
- apply 1,475,423,352 53%
- #<compiled 0x126cf71> 1,475,423,352 53%
- exwm-input--on-keysyms-update 1,454,489,568 52%
- exwm-input--update-global-prefix-keys 1,454,489,568 52%
- apply 1,454,431,896 52%
- exwm-input--grab-global-prefix-keys 1,454,429,784 52%
- xcb:-+request 1,453,262,744 52%
- apply 1,453,262,744 52%
- #<compiled 0x1169fa1> 1,452,921,480 52%
- xcb:-cache-request 1,452,788,424 52%
- apply 1,452,788,424 52%
- #<compiled 0x1169f79> 1,451,882,640 52%
+ xcb:marshal 8,846,640 0%
+ xcb:flush 1,770,376 0%
+ replace-regexp-in-string 986,496 0%
xcb:-pack-u2-lsb 231,616 0%
Which version of Emacs were you testing? There was a bug in Emacs 27 that was mentioned in https://github.com/ch11ng/exwm/issues/633 and has been fixed by then.
This is what M-x version gives me:
GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.12)
So clearly you are not affected by that bug. Is the memory usage always high or does it go down eventually (perhaps after several minutes)? As you may have noticed we disable garbage collection temporarily in certain cases for the sake of performance but the memory should be able to be reclaimed.