all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs taking long long time for M-x memory-report
@ 2021-04-02 15:03 Jean Louis
  2021-04-02 15:10 ` Jean Louis
  2021-04-02 15:32 ` Eli Zaretskii
  0 siblings, 2 replies; 8+ messages in thread
From: Jean Louis @ 2021-04-02 15:03 UTC (permalink / raw)
  To: emacs-devel

I am observing that M-x memory-report is notw taking long time, like
more than 3 minutes. It did not finish yet while I am writing this.

What should I do to discover where is the problem?

Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

Sign an open letter in support of Richard M. Stallman
https://rms-support-letter.github.io/






^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Emacs taking long long time for M-x memory-report
  2021-04-02 15:03 Emacs taking long long time for M-x memory-report Jean Louis
@ 2021-04-02 15:10 ` Jean Louis
  2021-04-02 15:32 ` Eli Zaretskii
  1 sibling, 0 replies; 8+ messages in thread
From: Jean Louis @ 2021-04-02 15:10 UTC (permalink / raw)
  To: emacs-devel

* Jean Louis <bugs@gnu.support> [2021-04-02 18:07]:
> I am observing that M-x memory-report is notw taking long time, like
> more than 3 minutes. It did not finish yet while I am writing this.

It failed first time. I have just seen split window open without any
information. There was message "Quit".

It seems that I got memory or swapping problem again. I am using
master.

P.S. This is one of situations where I need to use Zile or Vi as
invoking new instance of Emacs would be very slow, it would take
minutes.

In background, on second invokation of M-x memory-report, I can still
see "Gathering data..." it is gathering data for several minutes.

Is there anything I can do to provide information so that developers
may debug it?

Jean



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Emacs taking long long time for M-x memory-report
  2021-04-02 15:03 Emacs taking long long time for M-x memory-report Jean Louis
  2021-04-02 15:10 ` Jean Louis
@ 2021-04-02 15:32 ` Eli Zaretskii
  2021-04-02 15:43   ` Jean Louis
                     ` (2 more replies)
  1 sibling, 3 replies; 8+ messages in thread
From: Eli Zaretskii @ 2021-04-02 15:32 UTC (permalink / raw)
  To: Jean Louis; +Cc: emacs-devel

> Date: Fri, 2 Apr 2021 18:03:43 +0300
> From: Jean Louis <bugs@gnu.support>
> 
> I am observing that M-x memory-report is notw taking long time, like
> more than 3 minutes. It did not finish yet while I am writing this.
> 
> What should I do to discover where is the problem?

Profile it.  (And it isn't necessarily "a problem".)



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Emacs taking long long time for M-x memory-report
  2021-04-02 15:32 ` Eli Zaretskii
@ 2021-04-02 15:43   ` Jean Louis
  2021-04-02 15:49   ` Jean Louis
  2021-04-02 16:05   ` Jean Louis
  2 siblings, 0 replies; 8+ messages in thread
From: Jean Louis @ 2021-04-02 15:43 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

* Eli Zaretskii <eliz@gnu.org> [2021-04-02 18:33]:
> > Date: Fri, 2 Apr 2021 18:03:43 +0300
> > From: Jean Louis <bugs@gnu.support>
> > 
> > I am observing that M-x memory-report is notw taking long time, like
> > more than 3 minutes. It did not finish yet while I am writing this.
> > 
> > What should I do to discover where is the problem?
> 
> Profile it.  (And it isn't necessarily "a problem".)

OK. I did profiler-start. Will it work if I press Ctrl-g?

It does not exit from memory-report no matter how long I keep it. But
I did not test more than 1 hour.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Emacs taking long long time for M-x memory-report
  2021-04-02 15:32 ` Eli Zaretskii
  2021-04-02 15:43   ` Jean Louis
@ 2021-04-02 15:49   ` Jean Louis
  2021-04-02 18:53     ` Eli Zaretskii
  2021-04-02 16:05   ` Jean Louis
  2 siblings, 1 reply; 8+ messages in thread
From: Jean Louis @ 2021-04-02 15:49 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

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

* Eli Zaretskii <eliz@gnu.org> [2021-04-02 18:33]:
> > Date: Fri, 2 Apr 2021 18:03:43 +0300
> > From: Jean Louis <bugs@gnu.support>
> > 
> > I am observing that M-x memory-report is notw taking long time, like
> > more than 3 minutes. It did not finish yet while I am writing this.
> > 
> > What should I do to discover where is the problem?
> 
> Profile it.  (And it isn't necessarily "a problem".)

It looks like my read-from-buffer which edits buffer only is taking much.

        5977 100% - ...
           8   0%  - minibuffer-complete
           8   0%   - completion-in-region
           8   0%    - completion--in-region
           8   0%     - #<compiled -0xf7ef4c89da2962>
           8   0%      - apply
           8   0%       - #<compiled -0x15cae1e0b6760cb1>
           8   0%        - completion--in-region-1
           8   0%         - completion--do-completion
           3   0%          - minibuffer-completion-help
           1   0%           - temp-buffer-window-show
           1   0%            - display-buffer
           1   0%             - display-buffer-at-bottom
           1   0%              - window--display-buffer
           1   0%               - #<compiled 0x1613512c910495ef>
           1   0%                - display-completion-list
           1   0%                 - completion--insert-strings
           1   0%                  - mapcar
           1   0%                     #<compiled 0x67be3d777a73573>
           2   0%           - completion-all-completions
           2   0%            - completion--nth-completion
           2   0%             - completion--some
           2   0%              - #<compiled -0x48fb47e53b977bb>
           2   0%               - completion-basic-all-completions
           2   0%                - completion-pcm--all-completions
           2   0%                 - all-completions
           2   0%                  - #<compiled 0xbff542c1afa4328>
           2   0%                     complete-with-action
           5   0%          - completion-try-completion
           5   0%           - completion--nth-completion
           5   0%            - completion--some
           5   0%             - #<compiled 0x1658763d38c00b72>
           5   0%              - completion-basic-try-completion
           5   0%               - try-completion
           5   0%                - #<compiled 0xbff542c1afa4328>
           5   0%                   complete-with-action
         341   5%    Automatic GC
        5628  94%  - let
        5628  94%   - cond
        5628  94%    - if
        5628  94%     - read-from-buffer
        5628  94%      - let
        5628  94%       - save-excursion
        5628  94%        - unwind-protect
        5628  94%         - recursive-edit
        5628  94%          - command-execute
        5628  94%           - call-interactively
        5628  94%            - funcall-interactively
           8   0%             - rcd-db-tabulated-edit-value
           8   0%              - let*
           8   0%               - rcd/edit-entry
           8   0%                - let*
           8   0%                 - let
           8   0%                  - cond
           8   0%                   - if
           8   0%                    - read-from-buffer
           8   0%                     - let
           8   0%                      - save-excursion
           8   0%                       - unwind-protect
           7   0%                        - recursive-edit
           5   0%                         - command-execute
           5   0%                          - call-interactively
           5   0%                           - byte-code
           5   0%                            - read-extended-command
           5   0%                             - completing-read
           5   0%                              - completing-read-default
           5   0%                               - read-from-minibuffer
           1   0%                                - timer-event-handler
           1   0%                                 - apply
           1   0%                                    #<compiled 0x12c5fafe26cb8ce2>
        5620  94%             - execute-extended-command
        5620  94%              - command-execute
        5620  94%               - call-interactively
        5620  94%                - funcall-interactively
           1   0%                   profiler-report
        5619  94%                 - memory-report
          51   0%                  - memory-report--symbol-plist
          51   0%                   - mapatoms
          50   0%                    - #<compiled 0xd6e9ad67883edf2>
          49   0%                     - memory-report--object-size
          48   0%                      - memory-report--object-size-1
          47   0%                       - apply
          44   0%                        - #<compiled 0x1006c82e58669aad>
          34   0%                         - memory-report--object-size
          28   0%                          - memory-report--object-size-1
          27   0%                           - apply
          25   0%                            - #<compiled 0x1006c82e58669aad>
          24   0%                             - memory-report--object-size
          19   0%                              - memory-report--object-size-1
          19   0%                               - apply
           8   0%                                - #<compiled 0x14bd6ffb7d7fe0da>
           8   0%                                 - memory-report--interval-size
           1   0%                                    seq-reduce
           7   0%                                  - mapcar
           7   0%                                   - #<compiled 0x17ad8a63409fb2dd>
           7   0%                                    - memory-report--object-size
           5   0%                                     - memory-report--object-size-1
           5   0%                                      - apply
           5   0%                                       - #<compiled 0x1006c82e58669aad>
           1   0%                                          memory-report--size
           2   0%                                        - memory-report--object-size
           2   0%                                         - memory-report--object-size-1
           2   0%                                          - apply
           1   0%                                           - #<compiled 0x1006c82e58669aad>
           1   0%                                            - memory-report--object-size
           1   0%                                             - memory-report--object-size-1
           1   0%                                              - apply
           1   0%                                                 #<compiled 0x1006c82e58669aad>
           8   0%                                - #<compiled 0x1006c82e58669aad>
           8   0%                                 - memory-report--object-size
           6   0%                                  - memory-report--object-size-1
           6   0%                                   - apply
           6   0%                                    - #<compiled 0x1006c82e58669aad>
           4   0%                                     - memory-report--object-size
           3   0%                                      - memory-report--object-size-1
           2   0%                                         apply
        5568  93%                  - memory-report--buffers
        5568  93%                   - mapcar
        5568  93%                    - #<compiled -0x1d959f9c42d4373d>
        5568  93%                     - memory-report--buffer
        5568  93%                      - memory-report--buffer-data
           4   0%                       - mapcar
           4   0%                        - #<compiled -0x78195bc2e0b667>
           4   0%                         - memory-report--object-size
           4   0%                          - memory-report--object-size-1
           4   0%                           - apply
           1   0%                            - #<compiled 0x14bd6ffb7d7fe0da>
           1   0%                             - memory-report--interval-size
           1   0%                              - mapcar
           1   0%                               - #<compiled 0x17ad8ac5feddb2dd>
           1   0%                                  memory-report--object-size
           1   0%                            - #<compiled 0x1006c82e58669aad>
           1   0%                             - memory-report--object-size
           1   0%                              - memory-report--object-size-1
           1   0%                                 apply
           1   0%                              #<compiled -0x1384462f5396b145>
          16   0%                       - memory-report--object-size
          16   0%                        - memory-report--object-size-1
          16   0%                         - apply
          15   0%                          - #<compiled 0x1006c82e58669aad>
          15   0%                           - memory-report--object-size
          13   0%                            - memory-report--object-size-1
          13   0%                             - apply
          12   0%                              - #<compiled 0x1006c82e58669aad>
           1   0%                                 memory-report--size
          10   0%                               - memory-report--object-size
           6   0%                                - memory-report--object-size-1
           6   0%                                 - apply
           5   0%                                    #<compiled 0x1006c82e58669aad>



[-- Attachment #2: profile.txt --]
[-- Type: text/plain, Size: 15248 bytes --]


[profiler-profile "28.1" cpu #s(hash-table size 65 test equal rehash-size 1.5 rehash-threshold 0.8125 data ([read-from-minibuffer completing-read-default completing-read read-extended-command byte-code call-interactively command-execute recursive-edit unwind-protect save-excursion let read-from-buffer if cond let let*] 4 ["#<compiled 0x12c5fafe26cb8ce2>" apply timer-event-handler read-from-minibuffer completing-read-default completing-read read-extended-command byte-code call-interactively command-execute recursive-edit unwind-protect save-excursion let read-from-buffer if] 1 ["#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0xd6e9ad67883edf2>" mapatoms memory-report--symbol-plist memory-report funcall-interactively call-interactively command-execute execute-extended-command funcall-interactively call-interactively command-execute recursive-edit] 10 [memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0xd6e9ad67883edf2>" mapatoms memory-report--symbol-plist memory-report funcall-interactively call-interactively command-execute execute-extended-command funcall-interactively call-interactively command-execute] 6 ["#<compiled 0xd6e9ad67883edf2>" mapatoms memory-report--symbol-plist memory-report funcall-interactively call-interactively command-execute execute-extended-command funcall-interactively call-interactively command-execute recursive-edit unwind-protect save-excursion let read-from-buffer] 1 ["#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0xd6e9ad67883edf2>" mapatoms memory-report--symbol-plist memory-report funcall-interactively call-interactively command-execute execute-extended-command] 1 [memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1] 1 [memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0xd6e9ad67883edf2>" mapatoms memory-report--symbol-plist memory-report funcall-interactively call-interactively command-execute] 5 [apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0xd6e9ad67883edf2>" mapatoms memory-report--symbol-plist memory-report funcall-interactively] 3 [apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0xd6e9ad67883edf2>" mapatoms memory-report--symbol-plist memory-report funcall-interactively call-interactively command-execute execute-extended-command funcall-interactively] 2 [memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0xd6e9ad67883edf2>" mapatoms memory-report--symbol-plist] 2 [memory-report--object-size-1 memory-report--object-size "#<compiled 0xd6e9ad67883edf2>" mapatoms memory-report--symbol-plist memory-report funcall-interactively call-interactively command-execute execute-extended-command funcall-interactively call-interactively command-execute recursive-edit unwind-protect save-excursion] 1 [mapatoms memory-report--symbol-plist memory-report funcall-interactively call-interactively command-execute execute-extended-command funcall-interactively call-interactively command-execute recursive-edit unwind-protect save-excursion let read-from-buffer if] 1 [memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0xd6e9ad67883edf2>" mapatoms memory-report--symbol-plist memory-report funcall-interactively call-interactively command-execute execute-extended-command funcall-interactively call-interactively] 1 [apply memory-report--object-size-1 memory-report--object-size "#<compiled 0xd6e9ad67883edf2>" mapatoms memory-report--symbol-plist memory-report funcall-interactively call-interactively command-execute execute-extended-command funcall-interactively call-interactively command-execute recursive-edit unwind-protect] 3 [memory-report--object-size "#<compiled 0xd6e9ad67883edf2>" mapatoms memory-report--symbol-plist memory-report funcall-interactively call-interactively command-execute execute-extended-command funcall-interactively call-interactively command-execute recursive-edit unwind-protect save-excursion let] 1 [memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply] 1 [seq-reduce memory-report--interval-size "#<compiled 0x14bd6ffb7d7fe0da>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0xd6e9ad67883edf2>" mapatoms] 1 [apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>"] 2 ["#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size memory-report--buffer-data memory-report--buffer "#<compiled -0x1d959f9c42d4373d>" mapcar] 5 [memory-report--size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x17ad8a63409fb2dd>" mapcar memory-report--interval-size "#<compiled 0x14bd6ffb7d7fe0da>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size] 1 [memory-report--object-size "#<compiled 0x17ad8a63409fb2dd>" mapcar memory-report--interval-size "#<compiled 0x14bd6ffb7d7fe0da>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size] 2 [apply memory-report--object-size-1 memory-report--object-size memory-report--buffer-data memory-report--buffer "#<compiled -0x1d959f9c42d4373d>" mapcar memory-report--buffers memory-report funcall-interactively call-interactively command-execute execute-extended-command funcall-interactively call-interactively command-execute] 1 [apply memory-report--object-size-1 memory-report--object-size "#<compiled -0x78195bc2e0b667>" mapcar memory-report--buffer-data memory-report--buffer "#<compiled -0x1d959f9c42d4373d>" mapcar memory-report--buffers memory-report funcall-interactively call-interactively command-execute execute-extended-command funcall-interactively] 1 [memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size memory-report--buffer-data memory-report--buffer "#<compiled -0x1d959f9c42d4373d>" mapcar memory-report--buffers memory-report funcall-interactively call-interactively command-execute execute-extended-command funcall-interactively] 2 [memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size memory-report--buffer-data memory-report--buffer "#<compiled -0x1d959f9c42d4373d>" mapcar memory-report--buffers memory-report funcall-interactively] 4 ["#<compiled -0x1384462f5396b145>" apply memory-report--object-size-1 memory-report--object-size "#<compiled -0x78195bc2e0b667>" mapcar memory-report--buffer-data memory-report--buffer "#<compiled -0x1d959f9c42d4373d>" mapcar memory-report--buffers memory-report funcall-interactively call-interactively command-execute execute-extended-command] 1 ["#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x17ad89cfe02552dd>" mapcar memory-report--interval-size "#<compiled 0x14bd6ffb7d7fe0da>"] 1 [apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x17ad89cfe02552dd>" mapcar memory-report--interval-size "#<compiled 0x14bd6ffb7d7fe0da>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply] 1 ["#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x17ad89cfe02552dd>" mapcar memory-report--interval-size "#<compiled 0x14bd6ffb7d7fe0da>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>"] 2 ["#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size] 2 [memory-report--buffer-data memory-report--buffer "#<compiled -0x1d959f9c42d4373d>" mapcar memory-report--buffers memory-report funcall-interactively call-interactively command-execute execute-extended-command funcall-interactively call-interactively command-execute recursive-edit unwind-protect save-excursion] 5548 [apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled -0x78195bc2e0b667>" mapcar memory-report--buffer-data memory-report--buffer "#<compiled -0x1d959f9c42d4373d>" mapcar memory-report--buffers memory-report funcall-interactively] 1 [memory-report--size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size memory-report--buffer-data memory-report--buffer "#<compiled -0x1d959f9c42d4373d>" mapcar memory-report--buffers memory-report funcall-interactively] 1 [apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size memory-report--buffer-data memory-report--buffer "#<compiled -0x1d959f9c42d4373d>" mapcar memory-report--buffers memory-report funcall-interactively call-interactively command-execute] 1 [memory-report--object-size "#<compiled 0x17ad8ac5feddb2dd>" mapcar memory-report--interval-size "#<compiled 0x14bd6ffb7d7fe0da>" apply memory-report--object-size-1 memory-report--object-size "#<compiled -0x78195bc2e0b667>" mapcar memory-report--buffer-data memory-report--buffer "#<compiled -0x1d959f9c42d4373d>" mapcar memory-report--buffers memory-report] 1 [apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size memory-report--buffer-data memory-report--buffer "#<compiled -0x1d959f9c42d4373d>" mapcar memory-report--buffers] 1 ["#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size "#<compiled 0x1006c82e58669aad>" apply memory-report--object-size-1 memory-report--object-size memory-report--buffer-data memory-report--buffer "#<compiled -0x1d959f9c42d4373d>" mapcar memory-report--buffers memory-report funcall-interactively call-interactively] 1 [recursive-edit unwind-protect save-excursion let read-from-buffer if cond let let* rcd/edit-entry let* rcd-db-tabulated-edit-value funcall-interactively call-interactively command-execute recursive-edit] 2 [unwind-protect save-excursion let read-from-buffer if cond let let* rcd/edit-entry let* rcd-db-tabulated-edit-value funcall-interactively call-interactively command-execute recursive-edit unwind-protect] 1 [complete-with-action "#<compiled 0xbff542c1afa4328>" try-completion completion-basic-try-completion "#<compiled 0x1658763d38c00b72>" completion--some completion--nth-completion completion-try-completion completion--do-completion completion--in-region-1 "#<compiled -0x15cae1e0b6760cb1>" apply "#<compiled -0xf7ef4c89da2962>" completion--in-region completion-in-region minibuffer-complete] 5 [complete-with-action "#<compiled 0xbff542c1afa4328>" all-completions completion-pcm--all-completions completion-basic-all-completions "#<compiled -0x48fb47e53b977bb>" completion--some completion--nth-completion completion-all-completions minibuffer-completion-help completion--do-completion completion--in-region-1 "#<compiled -0x15cae1e0b6760cb1>" apply "#<compiled -0xf7ef4c89da2962>" completion--in-region] 2 ["#<compiled 0x67be3d777a73573>" mapcar completion--insert-strings display-completion-list "#<compiled 0x1613512c910495ef>" window--display-buffer display-buffer-at-bottom display-buffer temp-buffer-window-show minibuffer-completion-help completion--do-completion completion--in-region-1 "#<compiled -0x15cae1e0b6760cb1>" apply "#<compiled -0xf7ef4c89da2962>" completion--in-region] 1 [profiler-report funcall-interactively call-interactively command-execute execute-extended-command funcall-interactively call-interactively command-execute recursive-edit unwind-protect save-excursion let read-from-buffer if cond let] 1 [Automatic\ GC] 341)) (24679 15296 446913 732000) nil]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Emacs taking long long time for M-x memory-report
  2021-04-02 15:32 ` Eli Zaretskii
  2021-04-02 15:43   ` Jean Louis
  2021-04-02 15:49   ` Jean Louis
@ 2021-04-02 16:05   ` Jean Louis
  2 siblings, 0 replies; 8+ messages in thread
From: Jean Louis @ 2021-04-02 16:05 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

After deleting some buffers, I could finally get memory-report, with
only few buffers left. There were several completion buffers. Now the
same instance became reponsive again. But I don't know how to defend
from the event.

Estimated Emacs Memory Usage

  77.7 MiB  Overall Object Memory Usage
  67.4 MiB  Reserved (But Unused) Object Memory
  17.2 MiB  Memory Used By Global Variables
   7.1 MiB  Memory Used By Symbol Plists
   6.1 MiB  Total Buffer Memory Usage
  71.1 KiB  Total Image Cache Size

Object Storage

  42.7 MiB  Vectors
  15.7 MiB  Strings
  14.8 MiB  Conses
   2.5 MiB  Symbols
   2.0 MiB  Intervals
  31.0 KiB  Buffer-Objects
   5.9 KiB  Floats

Largest Buffers

   3.0 MiB   *DOC*
   1.1 MiB   *helm candidates:package manager*
   1.1 MiB   *helm candidates:pacman*
 499.8 KiB  *SQL: Postgres*
 104.2 KiB  *Buffer List*
  52.8 KiB   *code-conversion-work*
  49.3 KiB  *Messages*
  41.0 KiB   *SQL-Redirect-values*
  34.3 KiB  *Occur*
  32.7 KiB  *shell*
  24.0 KiB  *scratch*
  16.8 KiB   tmp-sort
  14.6 KiB   *which-key*
  10.2 KiB  vterm
   7.4 KiB  *Backtrace*
   6.1 KiB   *code-converting-work*
   3.2 KiB   *Minibuf-1*
   2.9 KiB   *Minibuf-2*
   2.9 KiB   *temp*
   2.5 KiB   *temp*-372052

Largest Variables

   1.5 MiB  load-history
   1.4 MiB  kill-ring-yank-pointer
   1.4 MiB  kill-ring
   1.3 MiB  helm-system-packages--cache
 740.1 KiB  shr-content-cache
 733.7 KiB  yank-menu
 663.7 KiB  url-domsuf-domains
 389.1 KiB  help-definition-prefixes
 381.1 KiB  Info-toc-nodes
 251.6 KiB  face-new-frame-defaults
 236.3 KiB  obarray
 211.9 KiB  pending-undo-list
 167.7 KiB  mailcap-mime-extensions
 156.3 KiB  profiler-cpu-log
 146.9 KiB  global-map
 146.9 KiB  widget-global-map
 143.1 KiB  org-entities
  89.3 KiB  bibtex-biblatex-entry-alist
  87.9 KiB  save-place-alist
  80.2 KiB  coding-system-alist




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Emacs taking long long time for M-x memory-report
  2021-04-02 15:49   ` Jean Louis
@ 2021-04-02 18:53     ` Eli Zaretskii
  2021-04-02 21:38       ` Jean Louis
  0 siblings, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2021-04-02 18:53 UTC (permalink / raw)
  To: Jean Louis; +Cc: emacs-devel

> Date: Fri, 2 Apr 2021 18:49:52 +0300
> From: Jean Louis <bugs@gnu.support>
> Cc: emacs-devel@gnu.org
> 
> > Profile it.  (And it isn't necessarily "a problem".)
> 
> It looks like my read-from-buffer which edits buffer only is taking much.

What kind of profile did you run? cpu or memory?



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Emacs taking long long time for M-x memory-report
  2021-04-02 18:53     ` Eli Zaretskii
@ 2021-04-02 21:38       ` Jean Louis
  0 siblings, 0 replies; 8+ messages in thread
From: Jean Louis @ 2021-04-02 21:38 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

* Eli Zaretskii <eliz@gnu.org> [2021-04-02 21:53]:
> > Date: Fri, 2 Apr 2021 18:49:52 +0300
> > From: Jean Louis <bugs@gnu.support>
> > Cc: emacs-devel@gnu.org
> > 
> > > Profile it.  (And it isn't necessarily "a problem".)
> > 
> > It looks like my read-from-buffer which edits buffer only is taking much.
> 
> What kind of profile did you run? cpu or memory?

cpu



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-04-02 21:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-02 15:03 Emacs taking long long time for M-x memory-report Jean Louis
2021-04-02 15:10 ` Jean Louis
2021-04-02 15:32 ` Eli Zaretskii
2021-04-02 15:43   ` Jean Louis
2021-04-02 15:49   ` Jean Louis
2021-04-02 18:53     ` Eli Zaretskii
2021-04-02 21:38       ` Jean Louis
2021-04-02 16:05   ` Jean Louis

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.