Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High memory usage #25

Open
adrianparvino opened this issue Nov 2, 2019 · 3 comments
Open

High memory usage #25

adrianparvino opened this issue Nov 2, 2019 · 3 comments

Comments

@adrianparvino
Copy link

Potentially caused by bb3f395 ?

- 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%
@ch11ng
Copy link
Owner

ch11ng commented Nov 3, 2019

Which version of Emacs were you testing? There was a bug in Emacs 27 that was mentioned in ch11ng/exwm#633 and has been fixed by then.

@adrianparvino
Copy link
Author

This is what M-x version gives me:

GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.12)

@ch11ng
Copy link
Owner

ch11ng commented Nov 3, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants