emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-mode using 100 CPU, weird note, or just too many of them?
@ 2011-11-15  8:38 Gijs Hillenius
  2011-11-15  9:00 ` Gijs Hillenius
  0 siblings, 1 reply; 6+ messages in thread
From: Gijs Hillenius @ 2011-11-15  8:38 UTC (permalink / raw)
  To: Org Mode


I almost daily, and most certainly weekly, store notes in org-mode. Bin
doin' that since somewhere in 2007. The file is now a measly 184k.

Org-mode's weekly task list works fine. And storing notes works fine
too. However, actually using these notes, is not.

Every time I even "look" at the file, CPU utilisation jumps to 101
percent (two cores), according to 'Top'. It takes a while too, before it
settles down.

I can search (C-a s) fine, but when jumping to the resulting note, this
will lock emacs for a while. And opening the note (tab) will lock it up
again.

I wonder, did I store some note that does something weird, like asking
Org-Mode to calculate something from day 0 (4.54 billion years ago) to
'Judgement Day'?

So, yesterday I decided to cut the file in parts. I threw aside all the
notes stored before 2010. Made no difference. I threw aside all the
notes that were made before 2011. That helped, now emacs' CPU
utilisations is not above 50 percent and it is ok like that.

So maybe the error is in a note from 2010? However, stripping all 2010
notes, the CPU is blocked once more.. so maybe it is not the 2010 notes?

I'm not sure how to debug this. I've switched on the debugger, and tried
hitting C-g when the CPU is at 100%, but the debugger comes up empty.

Now what? Should I simply move all notes to the archive? That is fine
with me, if search still works. But I bet then I simply will have moved
the problem *there*?

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

* Re: org-mode using 100 CPU, weird note, or just too many of them?
  2011-11-15  8:38 org-mode using 100 CPU, weird note, or just too many of them? Gijs Hillenius
@ 2011-11-15  9:00 ` Gijs Hillenius
  2011-11-15 14:34   ` Torsten Wagner
  0 siblings, 1 reply; 6+ messages in thread
From: Gijs Hillenius @ 2011-11-15  9:00 UTC (permalink / raw)
  To: emacs-orgmode


Catching the hints from the current thread on the org-mode list, "slow
agenda view and scrolling through headlines",

here is the result of 

    M-x elp-instrument-package RET org RET

and opening the org file

    M-x elp-results RET

And, using Org-mode version 7.7 on GNU Emacs 24.0.91.1 (debian snapshot)


org-cycle                                                     5           0.0817489999  0.0163497999
org-cycle-internal-local                                      4           0.068494      0.0171235
org-mode                                                      1           0.023933      0.023933
org-end-of-subtree                                            11          0.021776      0.0019796363
org-optimize-window-after-visibility-change                   3           0.02153       0.0071766666
org-subtree-end-visible-p                                     2           0.0214859999  0.0107429999
org-set-startup-visibility                                    1           0.016646      0.016646
org-cycle-internal-global                                     1           0.011137      0.011137
org-cycle-show-empty-lines                                    4           0.009353      0.00233825
org-overview                                                  1           0.008841      0.008841
org-outline-level                                             1003        0.0037509999  3.739...e-06
org-cycle-hide-archived-subtrees                              4           0.003287      0.00082175
org-update-radio-target-regexp                                1           0.002786      0.002786
org-all-targets                                               1           0.002765      0.002765
org-activate-footnote-links                                   16          0.0025459999  0.0001591249
org-footnote-next-reference-or-definition                     16          0.0023810000  0.0001488125
org-cycle-hide-drawers                                        5           0.0022270000  0.0004454000
org-footnote-at-reference-p                                   2           0.002026      0.001013
org-set-regexps-and-options                                   1           0.001967      0.001967
org-footnote-in-valid-context-p                               2           0.001715      0.0008575
org-babel-hide-all-hashes                                     1           0.001583      0.001583
org-set-visibility-according-to-property                      1           0.001479      0.001479
org-activate-dates                                            46          0.0014550000  3.163...e-05
org-in-block-p                                                2           0.00145       0.000725
org-in-regexps-block-p                                        18          0.001324      7.355...e-05
org-activate-plain-links                                      20          0.001147      5.735e-05
org-install-agenda-files-menu                                 1           0.000676      0.000676
org-do-emphasis-faces                                         15          0.000629      4.193...e-05
org-fontify-meta-lines-and-blocks                             15          0.000491      3.273...e-05
org-at-regexp-p                                               18          0.000469      2.605...e-05
org-hide-block-toggle-maybe                                   5           0.0004140000  8.280...e-05
org-back-to-heading                                           16          0.0004030000  2.518...e-05
org-fontify-meta-lines-and-blocks-1                           15          0.0003820000  2.546...e-05
org-at-item-p                                                 14          0.000355      2.535...e-05
org-agenda-files                                              1           0.000328      0.000328
org-activate-bracket-links                                    17          0.0003030000  1.782...e-05
org-activate-tags                                             15          0.000288      1.92e-05
org-in-regexp                                                 8           0.000245      3.0625e-05
org-unfontify-region                                          14          0.000242      1.728...e-05
org-hide-archived-subtrees                                    3           0.0002109999  7.033...e-05
org-cycle-item-indentation                                    5           0.0002070000  4.140...e-05
org-get-level-face                                            102         0.0001989999  1.950...e-06
org-babel-hide-result-toggle-maybe                            5           0.000184      3.68e-05
org-flag-drawer                                               7           0.0001809999  2.585...e-05
org-activate-angle-links                                      14          0.0001739999  1.242...e-05
org-remove-flyspell-overlays-in                               44          0.0001589999  3.613...e-06
org-list-search-forward                                       3           0.000158      5.266...e-05
org-activate-code                                             14          0.0001459999  1.042...e-05
org-show-entry                                                1           0.000123      0.000123
org-font-lock-add-priority-faces                              14          0.0001159999  8.285...e-06
org-list-search-generic                                       3           0.0001149999  3.833...e-05
org-cycle-level                                               5           0.000102      2.04e-05
org-in-verbatim-emphasis                                      2           9.6e-05       4.8e-05
org-inside-latex-macro-p                                      2           8.8e-05       4.4e-05
org-item-re                                                   18          8.599...e-05  4.777...e-06
org-at-heading-p                                              4           8.1e-05       2.025e-05
org-file-menu-entry                                           28          6.400...e-05  2.285...e-06
org-hide-wide-columns                                         14          5.9e-05       4.214...e-06
org-at-table-p                                                5           5.8e-05       1.16e-05
org-remove-font-lock-display-properties                       14          4.499...e-05  3.214...e-06
org-in-indented-comment-line                                  2           3.9e-05       1.95e-05
org-point-at-end-of-empty-headline                            5           3.500...e-05  7.000...e-06
org-extract-log-state-settings                                7           3.4e-05       4.857...e-06
org-in-commented-line                                         2           3.1e-05       1.55e-05
org-fontify-entities                                          14          2.7e-05       1.928...e-06
org-activate-target-links                                     14          2.5e-05       1.785...e-06
org-do-latex-and-special-faces                                14          2.5e-05       1.785...e-06
org-font-lock-hook                                            14          2.4e-05       1.714...e-06
org-raise-scripts                                             14          2.4e-05       1.714...e-06
org-font-lock-add-tag-faces                                   14          2.2e-05       1.571...e-06
org-set-autofill-regexps                                      1           2.2e-05       2.2e-05
org-load-modules-maybe                                        6           2e-05         3.333...e-06
org-add-hook                                                  4           1.600...e-05  4.000...e-06
org-assign-fast-keys                                          1           1.6e-05       1.6e-05
org-src-native-tab-command-maybe                              5           1.499...e-05  2.999...e-06
org-get-todo-face                                             1           1.2e-05       1.2e-05
org-remove-keyword-keys                                       3           1e-05         3.333...e-06
org-make-options-regexp                                       1           1e-05         1e-05
org-set-font-lock-defaults                                    1           1e-05         1e-05
org-trim                                                      1           6e-06         6e-06
org-split-string                                              1           5e-06         5e-06
org-delete-all                                                1           4e-06         4e-06
org-get-checkbox-statistics-face                              1           4e-06         4e-06
org-compute-latex-and-specials-regexp                         1           3e-06         3e-06
org-restart-font-lock                                         1           2e-06         2e-06
org-face-from-face-or-color                                   1           2e-06         2e-06
org-make-target-link-regexp                                   1           2e-06         2e-06
org-babel-result-hide-spec                                    1           2e-06         2e-06

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

* Re: org-mode using 100 CPU, weird note, or just too many of them?
  2011-11-15  9:00 ` Gijs Hillenius
@ 2011-11-15 14:34   ` Torsten Wagner
  2011-11-15 14:44     ` Nick Dokos
  0 siblings, 1 reply; 6+ messages in thread
From: Torsten Wagner @ 2011-11-15 14:34 UTC (permalink / raw)
  To: Gijs Hillenius; +Cc: emacs-orgmode

Hi Gijs

just by chance because this was the reason for many other slow-downs.
(Guess it is qualified for the FAQ already?!)
Do you have the linum-mode activated? Getting line-numbers left side
of the buffer?
This does not play nice with org-mode folding, since it seems to
recalculate the line umbers whenever you try to fold/unfold stuff.

Just an idea.

Torsten


On 15 November 2011 18:00, Gijs Hillenius <gijs@hillenius.net> wrote:
>
> Catching the hints from the current thread on the org-mode list, "slow
> agenda view and scrolling through headlines",
>
> here is the result of
>
>    M-x elp-instrument-package RET org RET
>
> and opening the org file
>
>    M-x elp-results RET
>
> And, using Org-mode version 7.7 on GNU Emacs 24.0.91.1 (debian snapshot)
>
>
> org-cycle                                                     5           0.0817489999  0.0163497999
> org-cycle-internal-local                                      4           0.068494      0.0171235
> org-mode                                                      1           0.023933      0.023933
> org-end-of-subtree                                            11          0.021776      0.0019796363
> org-optimize-window-after-visibility-change                   3           0.02153       0.0071766666
> org-subtree-end-visible-p                                     2           0.0214859999  0.0107429999
> org-set-startup-visibility                                    1           0.016646      0.016646
> org-cycle-internal-global                                     1           0.011137      0.011137
> org-cycle-show-empty-lines                                    4           0.009353      0.00233825
> org-overview                                                  1           0.008841      0.008841
> org-outline-level                                             1003        0.0037509999  3.739...e-06
> org-cycle-hide-archived-subtrees                              4           0.003287      0.00082175
> org-update-radio-target-regexp                                1           0.002786      0.002786
> org-all-targets                                               1           0.002765      0.002765
> org-activate-footnote-links                                   16          0.0025459999  0.0001591249
> org-footnote-next-reference-or-definition                     16          0.0023810000  0.0001488125
> org-cycle-hide-drawers                                        5           0.0022270000  0.0004454000
> org-footnote-at-reference-p                                   2           0.002026      0.001013
> org-set-regexps-and-options                                   1           0.001967      0.001967
> org-footnote-in-valid-context-p                               2           0.001715      0.0008575
> org-babel-hide-all-hashes                                     1           0.001583      0.001583
> org-set-visibility-according-to-property                      1           0.001479      0.001479
> org-activate-dates                                            46          0.0014550000  3.163...e-05
> org-in-block-p                                                2           0.00145       0.000725
> org-in-regexps-block-p                                        18          0.001324      7.355...e-05
> org-activate-plain-links                                      20          0.001147      5.735e-05
> org-install-agenda-files-menu                                 1           0.000676      0.000676
> org-do-emphasis-faces                                         15          0.000629      4.193...e-05
> org-fontify-meta-lines-and-blocks                             15          0.000491      3.273...e-05
> org-at-regexp-p                                               18          0.000469      2.605...e-05
> org-hide-block-toggle-maybe                                   5           0.0004140000  8.280...e-05
> org-back-to-heading                                           16          0.0004030000  2.518...e-05
> org-fontify-meta-lines-and-blocks-1                           15          0.0003820000  2.546...e-05
> org-at-item-p                                                 14          0.000355      2.535...e-05
> org-agenda-files                                              1           0.000328      0.000328
> org-activate-bracket-links                                    17          0.0003030000  1.782...e-05
> org-activate-tags                                             15          0.000288      1.92e-05
> org-in-regexp                                                 8           0.000245      3.0625e-05
> org-unfontify-region                                          14          0.000242      1.728...e-05
> org-hide-archived-subtrees                                    3           0.0002109999  7.033...e-05
> org-cycle-item-indentation                                    5           0.0002070000  4.140...e-05
> org-get-level-face                                            102         0.0001989999  1.950...e-06
> org-babel-hide-result-toggle-maybe                            5           0.000184      3.68e-05
> org-flag-drawer                                               7           0.0001809999  2.585...e-05
> org-activate-angle-links                                      14          0.0001739999  1.242...e-05
> org-remove-flyspell-overlays-in                               44          0.0001589999  3.613...e-06
> org-list-search-forward                                       3           0.000158      5.266...e-05
> org-activate-code                                             14          0.0001459999  1.042...e-05
> org-show-entry                                                1           0.000123      0.000123
> org-font-lock-add-priority-faces                              14          0.0001159999  8.285...e-06
> org-list-search-generic                                       3           0.0001149999  3.833...e-05
> org-cycle-level                                               5           0.000102      2.04e-05
> org-in-verbatim-emphasis                                      2           9.6e-05       4.8e-05
> org-inside-latex-macro-p                                      2           8.8e-05       4.4e-05
> org-item-re                                                   18          8.599...e-05  4.777...e-06
> org-at-heading-p                                              4           8.1e-05       2.025e-05
> org-file-menu-entry                                           28          6.400...e-05  2.285...e-06
> org-hide-wide-columns                                         14          5.9e-05       4.214...e-06
> org-at-table-p                                                5           5.8e-05       1.16e-05
> org-remove-font-lock-display-properties                       14          4.499...e-05  3.214...e-06
> org-in-indented-comment-line                                  2           3.9e-05       1.95e-05
> org-point-at-end-of-empty-headline                            5           3.500...e-05  7.000...e-06
> org-extract-log-state-settings                                7           3.4e-05       4.857...e-06
> org-in-commented-line                                         2           3.1e-05       1.55e-05
> org-fontify-entities                                          14          2.7e-05       1.928...e-06
> org-activate-target-links                                     14          2.5e-05       1.785...e-06
> org-do-latex-and-special-faces                                14          2.5e-05       1.785...e-06
> org-font-lock-hook                                            14          2.4e-05       1.714...e-06
> org-raise-scripts                                             14          2.4e-05       1.714...e-06
> org-font-lock-add-tag-faces                                   14          2.2e-05       1.571...e-06
> org-set-autofill-regexps                                      1           2.2e-05       2.2e-05
> org-load-modules-maybe                                        6           2e-05         3.333...e-06
> org-add-hook                                                  4           1.600...e-05  4.000...e-06
> org-assign-fast-keys                                          1           1.6e-05       1.6e-05
> org-src-native-tab-command-maybe                              5           1.499...e-05  2.999...e-06
> org-get-todo-face                                             1           1.2e-05       1.2e-05
> org-remove-keyword-keys                                       3           1e-05         3.333...e-06
> org-make-options-regexp                                       1           1e-05         1e-05
> org-set-font-lock-defaults                                    1           1e-05         1e-05
> org-trim                                                      1           6e-06         6e-06
> org-split-string                                              1           5e-06         5e-06
> org-delete-all                                                1           4e-06         4e-06
> org-get-checkbox-statistics-face                              1           4e-06         4e-06
> org-compute-latex-and-specials-regexp                         1           3e-06         3e-06
> org-restart-font-lock                                         1           2e-06         2e-06
> org-face-from-face-or-color                                   1           2e-06         2e-06
> org-make-target-link-regexp                                   1           2e-06         2e-06
> org-babel-result-hide-spec                                    1           2e-06         2e-06
>
>
>
>
>

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

* Re: org-mode using 100 CPU, weird note, or just too many of them?
  2011-11-15 14:34   ` Torsten Wagner
@ 2011-11-15 14:44     ` Nick Dokos
  2011-11-15 16:32       ` Is it the combination with erc? (Was: Re: org-mode using 100 CPU, weird note, or just too many of them?) Gijs Hillenius
  0 siblings, 1 reply; 6+ messages in thread
From: Nick Dokos @ 2011-11-15 14:44 UTC (permalink / raw)
  To: Torsten Wagner; +Cc: nicholas.dokos, emacs-orgmode

Torsten Wagner <torsten.wagner@gmail.com> wrote:

> Hi Gijs
> 
> just by chance because this was the reason for many other slow-downs.
> (Guess it is qualified for the FAQ already?!)
> Do you have the linum-mode activated? Getting line-numbers left side
> of the buffer?
> This does not play nice with org-mode folding, since it seems to
> recalculate the line umbers whenever you try to fold/unfold stuff.
> 
> Just an idea.
> 
> Torsten
> 
> 
> On 15 November 2011 18:00, Gijs Hillenius <gijs@hillenius.net> wrote:
> >
> > Catching the hints from the current thread on the org-mode list, "slow
> > agenda view and scrolling through headlines",
> >
> > here is the result of
> >
> >    M-x elp-instrument-package RET org RET
> >
> > and opening the org file
> >
> >    M-x elp-results RET
> >
> > And, using Org-mode version 7.7 on GNU Emacs 24.0.91.1 (debian snapshot)
> >

But the profile does not show org misbehaving at all: everything is
under a tenth of second.  You probably need something like "top" or
"vmstat" (these are on Linux, but there is probably something similar on
other OSes). IME, emacs occasionally goes into 100% CPU mode and I have
to restart it, but it has only happened rarely and I have not tried to
figure out what's causing it.

Nick

> >
> > org-cycle                                                     5           0.0817489999  0.0163497999
> > org-cycle-internal-local                                      4           0.068494      0.0171235
> > org-mode                                                      1           0.023933      0.023933
> > org-end-of-subtree                                            11          0.021776      0.0019796363
> > org-optimize-window-after-visibility-change                   3           0.02153       0.0071766666
> > org-subtree-end-visible-p                                     2           0.0214859999  0.0107429999
> > org-set-startup-visibility                                    1           0.016646      0.016646
> > org-cycle-internal-global                                     1           0.011137      0.011137
> > org-cycle-show-empty-lines                                    4           0.009353      0.00233825
> > org-overview                                                  1           0.008841      0.008841
> > org-outline-level                                             1003        0.0037509999  3.739...e-06
> > org-cycle-hide-archived-subtrees                              4           0.003287      0.00082175
> > org-update-radio-target-regexp                                1           0.002786      0.002786
> > org-all-targets                                               1           0.002765      0.002765
> > org-activate-footnote-links                                   16          0.0025459999  0.0001591249
> > org-footnote-next-reference-or-definition                     16          0.0023810000  0.0001488125
> > org-cycle-hide-drawers                                        5           0.0022270000  0.0004454000
> > org-footnote-at-reference-p                                   2           0.002026      0.001013
> > org-set-regexps-and-options                                   1           0.001967      0.001967
> > org-footnote-in-valid-context-p                               2           0.001715      0.0008575
> > org-babel-hide-all-hashes                                     1           0.001583      0.001583
> > org-set-visibility-according-to-property                      1           0.001479      0.001479
> > org-activate-dates                                            46          0.0014550000  3.163...e-05
> > org-in-block-p                                                2           0.00145       0.000725
> > org-in-regexps-block-p                                        18          0.001324      7.355...e-05
> > org-activate-plain-links                                      20          0.001147      5.735e-05
> > org-install-agenda-files-menu                                 1           0.000676      0.000676
> > org-do-emphasis-faces                                         15          0.000629      4.193...e-05
> > org-fontify-meta-lines-and-blocks                             15          0.000491      3.273...e-05
> > org-at-regexp-p                                               18          0.000469      2.605...e-05
> > org-hide-block-toggle-maybe                                   5           0.0004140000  8.280...e-05
> > org-back-to-heading                                           16          0.0004030000  2.518...e-05
> > org-fontify-meta-lines-and-blocks-1                           15          0.0003820000  2.546...e-05
> > org-at-item-p                                                 14          0.000355      2.535...e-05
> > org-agenda-files                                              1           0.000328      0.000328
> > org-activate-bracket-links                                    17          0.0003030000  1.782...e-05
> > org-activate-tags                                             15          0.000288      1.92e-05
> > org-in-regexp                                                 8           0.000245      3.0625e-05
> > org-unfontify-region                                          14          0.000242      1.728...e-05
> > org-hide-archived-subtrees                                    3           0.0002109999  7.033...e-05
> > org-cycle-item-indentation                                    5           0.0002070000  4.140...e-05
> > org-get-level-face                                            102         0.0001989999  1.950...e-06
> > org-babel-hide-result-toggle-maybe                            5           0.000184      3.68e-05
> > org-flag-drawer                                               7           0.0001809999  2.585...e-05
> > org-activate-angle-links                                      14          0.0001739999  1.242...e-05
> > org-remove-flyspell-overlays-in                               44          0.0001589999  3.613...e-06
> > org-list-search-forward                                       3           0.000158      5.266...e-05
> > org-activate-code                                             14          0.0001459999  1.042...e-05
> > org-show-entry                                                1           0.000123      0.000123
> > org-font-lock-add-priority-faces                              14          0.0001159999  8.285...e-06
> > org-list-search-generic                                       3           0.0001149999  3.833...e-05
> > org-cycle-level                                               5           0.000102      2.04e-05
> > org-in-verbatim-emphasis                                      2           9.6e-05       4.8e-05
> > org-inside-latex-macro-p                                      2           8.8e-05       4.4e-05
> > org-item-re                                                   18          8.599...e-05  4.777...e-06
> > org-at-heading-p                                              4           8.1e-05       2.025e-05
> > org-file-menu-entry                                           28          6.400...e-05  2.285...e-06
> > org-hide-wide-columns                                         14          5.9e-05       4.214...e-06
> > org-at-table-p                                                5           5.8e-05       1.16e-05
> > org-remove-font-lock-display-properties                       14          4.499...e-05  3.214...e-06
> > org-in-indented-comment-line                                  2           3.9e-05       1.95e-05
> > org-point-at-end-of-empty-headline                            5           3.500...e-05  7.000...e-06
> > org-extract-log-state-settings                                7           3.4e-05       4.857...e-06
> > org-in-commented-line                                         2           3.1e-05       1.55e-05
> > org-fontify-entities                                          14          2.7e-05       1.928...e-06
> > org-activate-target-links                                     14          2.5e-05       1.785...e-06
> > org-do-latex-and-special-faces                                14          2.5e-05       1.785...e-06
> > org-font-lock-hook                                            14          2.4e-05       1.714...e-06
> > org-raise-scripts                                             14          2.4e-05       1.714...e-06
> > org-font-lock-add-tag-faces                                   14          2.2e-05       1.571...e-06
> > org-set-autofill-regexps                                      1           2.2e-05       2.2e-05
> > org-load-modules-maybe                                        6           2e-05         3.333...e-06
> > org-add-hook                                                  4           1.600...e-05  4.000...e-06
> > org-assign-fast-keys                                          1           1.6e-05       1.6e-05
> > org-src-native-tab-command-maybe                              5           1.499...e-05  2.999...e-06
> > org-get-todo-face                                             1           1.2e-05       1.2e-05
> > org-remove-keyword-keys                                       3           1e-05         3.333...e-06
> > org-make-options-regexp                                       1           1e-05         1e-05
> > org-set-font-lock-defaults                                    1           1e-05         1e-05
> > org-trim                                                      1           6e-06         6e-06
> > org-split-string                                              1           5e-06         5e-06
> > org-delete-all                                                1           4e-06         4e-06
> > org-get-checkbox-statistics-face                              1           4e-06         4e-06
> > org-compute-latex-and-specials-regexp                         1           3e-06         3e-06
> > org-restart-font-lock                                         1           2e-06         2e-06
> > org-face-from-face-or-color                                   1           2e-06         2e-06
> > org-make-target-link-regexp                                   1           2e-06         2e-06
> > org-babel-result-hide-spec                                    1           2e-06         2e-06
> >
> >
> >
> >
> >

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

* Is it the combination with erc? (Was: Re: org-mode using 100 CPU, weird note, or just too many of them?)
  2011-11-15 14:44     ` Nick Dokos
@ 2011-11-15 16:32       ` Gijs Hillenius
  2011-11-15 16:45         ` Nick Dokos
  0 siblings, 1 reply; 6+ messages in thread
From: Gijs Hillenius @ 2011-11-15 16:32 UTC (permalink / raw)
  To: emacs-orgmode

On 15 Nov 2011, Nick Dokos wrote:

> Torsten Wagner <torsten.wagner@gmail.com> wrote:
>
>> Hi Gijs
>>
>> just by chance because this was the reason for many other slow-downs.
>> (Guess it is qualified for the FAQ already?!)
>> Do you have the linum-mode activated? Getting line-numbers left side
>> of the buffer?

No, nothing there. I did go over the mailing list, to check for some
this and other possibilities. However (see below Nick's remarks)

[...]

> But the profile does not show org misbehaving at all: everything is
> under a tenth of second.  You probably need something like "top" or
> "vmstat" (these are on Linux, but there is probably something similar
> on other OSes). IME, emacs occasionally goes into 100% CPU mode and I
> have to restart it, but it has only happened rarely and I have not
> tried to figure out what's causing it.

I completely forgot to mention this, but Nick's remark reminds me. This
very slow 'org-mode' behaviour *probably* only happens when erc is
running (naturally, in another buffer).

I'm very new to elp-instrument-package, will it help to get this
narrowed down?

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

* Re: Is it the combination with erc? (Was: Re: org-mode using 100 CPU, weird note, or just too many of them?)
  2011-11-15 16:32       ` Is it the combination with erc? (Was: Re: org-mode using 100 CPU, weird note, or just too many of them?) Gijs Hillenius
@ 2011-11-15 16:45         ` Nick Dokos
  0 siblings, 0 replies; 6+ messages in thread
From: Nick Dokos @ 2011-11-15 16:45 UTC (permalink / raw)
  To: Gijs Hillenius; +Cc: nicholas.dokos, emacs-orgmode

Gijs Hillenius <gijs@hillenius.net> wrote:

> I completely forgot to mention this, but Nick's remark reminds me. This
> very slow 'org-mode' behaviour *probably* only happens when erc is
> running (naturally, in another buffer).
> 

I run two instances of emacs: one is purely for erc, the other for
everything else. You might want to try a setup like that and see
if it resolves the problem.

Nick

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

end of thread, other threads:[~2011-11-15 16:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-15  8:38 org-mode using 100 CPU, weird note, or just too many of them? Gijs Hillenius
2011-11-15  9:00 ` Gijs Hillenius
2011-11-15 14:34   ` Torsten Wagner
2011-11-15 14:44     ` Nick Dokos
2011-11-15 16:32       ` Is it the combination with erc? (Was: Re: org-mode using 100 CPU, weird note, or just too many of them?) Gijs Hillenius
2011-11-15 16:45         ` Nick Dokos

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).