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

[Bug] Memory leak #749

Open
3 tasks done
varna9000 opened this issue Nov 24, 2024 · 0 comments
Open
3 tasks done

[Bug] Memory leak #749

varna9000 opened this issue Nov 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@varna9000
Copy link

Thank you for the bug report

  • I am using the latest version of doom-modeline related packages.
  • I checked FAQ.
  • You may also try reproduce the issue using clean environment and minimal configurations with
    the command emacs -Q.

Bug description

I'm using Emacs 29.4, built from emacsformacosx.com on Macbook M1. I'm often editing files over VPN with TRAMP. For some reason doom-modeline causes memory leak (Emacs using 80GB ram!) and eventually freezing Emacs when the network is lost/no connenction to the edited file.

I've started commenting my config until I reached doom-modeline. Commenting it, solves the issue. Uncommenting it brings it back. This is the relevant config.

(use-package doom-modeline
  :ensure t
  :init (doom-modeline-mode 1))

Steps to reproduce

  1. Turn VPN on, load a file over TRAMP(ssh) from the vpn’ed server.
  2. Turn off VPN.
  3. Close MacBook lid.
  4. Open MacBook lid.
  5. RAM usage of Emacs start increasing as hell
  6. MacOS marks the app as not-responding when RAM usage reaches around 79GB (apparently OS limit)

Expected behavior

Tramp fallback with no such file/connection error.

OS

MacOS

Emacs Version

29

Emacs Configurations

custom

Error callstack

I can't debug as the app freezes. The only way out. is ti kill it.

Anything else

No response

@varna9000 varna9000 added the bug Something isn't working label Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant