emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Possible cache problems
@ 2015-06-02 17:09 Suvayu Ali
  2015-06-02 20:26 ` Nicolas Goaziou
  0 siblings, 1 reply; 14+ messages in thread
From: Suvayu Ali @ 2015-06-02 17:09 UTC (permalink / raw)
  To: Emacs Org mode

Hi,

I have been noticing a strange heisenbug.  From time to time, Org starts
eating CPU for certain specific tasks: org-end-of-line, fill-paragraph,
folding or unfolding trees, or adding/changing properties with
org-set-property.  However these happen only after I have been using Org
for a while.  

I think I also see similar CPU eating symptoms when I have buffers
editing version controlled files.  I have auto-revert-mode enabled for
files under version control, I think that is related.  I'm not entirely
sure though, I don't know how to narrow it down either.

I say it is cache related since all this magically goes away, once I go
to the top of my current tree, and call org-element-cache-reset.
However, once the symptoms start showing, it happens more frequently
despite my cache resets.

It's very hard to reproduce this though.  I see it when I have been
using the same Emacs session over several days.  I always run emacs as a
daemon, so sessions lasting a week or more is quite common.  To see the
symptoms I have to wait about half a week to a whole week, hence the
hard to reproduce comment.  However, once the symptoms show, it gets bad
rather fast.  I end up restarting when the need to reset the cache gets
too frequent.

Any thoughts?

Thanks,

-- 
Suvayu

Open source is the future. It sets us free.

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

end of thread, other threads:[~2015-06-15  1:22 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-02 17:09 Possible cache problems Suvayu Ali
2015-06-02 20:26 ` Nicolas Goaziou
2015-06-02 21:21   ` Suvayu Ali
2015-06-02 21:27     ` Nicolas Goaziou
2015-06-02 21:35       ` Suvayu Ali
2015-06-06 19:38       ` Suvayu Ali
2015-06-06 23:29         ` Nicolas Goaziou
2015-06-07  3:39           ` Suvayu Ali
2015-06-10  8:40           ` Suvayu Ali
2015-06-10 21:41             ` Rasmus
2015-06-11  7:00             ` Nicolas Goaziou
2015-06-11 15:06               ` Suvayu Ali
2015-06-14 12:58             ` Nicolas Goaziou
2015-06-15  1:21               ` Suvayu Ali

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).