all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Naveed Chehrazi <nchehrazi@gmail.com>
To: 43876@debbugs.gnu.org
Subject: bug#43876: Emacs uses excessive memory
Date: Thu, 8 Oct 2020 19:53:02 -0500	[thread overview]
Message-ID: <CADkdQW9aF=yGhYxA=M176wrBw+UMjD+kr7UfcHFWnvQGe5-noQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 4799 bytes --]

Hi,

I had two instances where my emacs was using an excessive amount of memory
(once about 45GiB, and once using 94GiB). I have the memory-profiler report
below. It appears that helm package is the cause, however I was not able to
find out how I can report this issue to helm package maintainers. I would
appreciate it if you can provide instruction for resolving the problem.
Please also let me know if you need more information.

Best regards,

Naveed

OS:
Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04

emacs is installed via snap:
emacs                 27.1                   857   latest/stable
 alexmurray  classic

Output of memory profiler:
- command-execute                                          45,211,763  93%
 - call-interactively                                      45,211,763  93%
  - funcall-interactively                                  45,210,707  93%
   - helm-M-x                                              45,210,707  93%
    - helm-M-x-read-extended-command                       45,210,707  93%
     - helm                                                44,908,519  93%
      - apply                                              44,907,495  93%
       - helm                                              44,906,439  93%
        - apply                                            44,906,439  93%
         - helm-internal                                   44,906,439  93%
          - helm-read-pattern-maybe                        33,969,278  70%
           - read-from-minibuffer                          31,370,347  65%
            - timer-event-handler                          23,467,065  48%
             - apply                                       23,429,537  48%
              - #<compiled 0x155763cf6569>                 23,411,081  48%
               + helm-check-minibuffer-input               23,402,809  48%
               + internal--before-save-selected-window          4,136   0%
                org-ref-link-message                            8,216   0%
              + blink-cursor-start                              4,736   0%
              + helm-ff--cache-mode-refresh                     3,168   0%
              + show-paren-function                             1,280   0%
              + auto-revert-buffers                             1,056   0%
             + timer-activate                                  15,408   0%
             + timer-activate-when-idle                         9,504   0%
             + timer-inc-time                                   8,264   0%
               timer-until                                      1,120   0%
            + command-execute                                 592,496   1%
            + redisplay_internal (C function)                 157,944   0%
            + helm--update-header-line                         67,084   0%
            + helm-ff--cache-mode-reset-timer                  13,656   0%
            + #<compiled 0x155ca2e7d809>                       10,496   0%
            + minibuffer-inactive-mode                          4,224   0%
            + which-key--hide-popup                             3,168   0%
              beacon--vanish                                    2,112   0%
            + global-eldoc-mode-check-buffers                   1,056   0%
            + beacon--post-command                              1,056   0%
            + blink-cursor-end                                  1,056   0%
              tooltip-hide                                        160   0%
           + helm-update                                      643,349   1%
           + thing-at-point                                     3,122   0%
           + helm-get-candidate-number                          1,056   0%
          + helm-display-buffer                             5,484,524  11%
          + #<compiled 0x155763d0097d>                      3,540,114   7%
          + helm-execute-selection-action                   1,897,079   3%
          + helm-initialize                                    11,308   0%
          + advice-add                                          4,136   0%
        helm-parse-keys                                         1,024   0%
     + helm-make-source                                       297,820   0%
     + run-at-time                                                232   0%
+ timer-event-handler                                       2,638,134   5%
+ redisplay_internal (C function)                             236,482   0%
+ flyspell-post-command-hook                                   11,688   0%
+ preview-move-point                                            2,192   0%
+ helm-ff--cache-mode-reset-timer                               1,072   0%
  ...                                                               0   0%

[-- Attachment #2: Type: text/html, Size: 6572 bytes --]

             reply	other threads:[~2020-10-09  0:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-09  0:53 Naveed Chehrazi [this message]
2020-10-09  6:58 ` bug#43876: Emacs uses excessive memory Eli Zaretskii
2020-10-09 20:25   ` Naveed Chehrazi
2020-10-10  6:42     ` Eli Zaretskii
2020-10-11  2:20       ` Naveed Chehrazi
2021-01-25  2:20 ` Naveed Chehrazi
2021-01-25  3:34   ` Eli Zaretskii
2021-01-25  3:53     ` Naveed Chehrazi
2021-01-25  4:45       ` Eli Zaretskii
2021-01-25  5:24         ` Naveed Chehrazi
2021-01-25  3:51 ` bug#43876: 27.1; " Naveed Chehrazi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADkdQW9aF=yGhYxA=M176wrBw+UMjD+kr7UfcHFWnvQGe5-noQ@mail.gmail.com' \
    --to=nchehrazi@gmail.com \
    --cc=43876@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.