emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Gijs Hillenius <gijs@hillenius.net>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: org-mode using 100 CPU, weird note, or just too many of them?
Date: Tue, 15 Nov 2011 09:38:45 +0100	[thread overview]
Message-ID: <87vcql4w6i.fsf@hillenius.net> (raw)


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*?

             reply	other threads:[~2011-11-15  8:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-15  8:38 Gijs Hillenius [this message]
2011-11-15  9:00 ` org-mode using 100 CPU, weird note, or just too many of them? 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

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=87vcql4w6i.fsf@hillenius.net \
    --to=gijs@hillenius.net \
    --cc=emacs-orgmode@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 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).