From: "briangpowell ." <briangpowellms@gmail.com>
To: Karl Voit <news1142@karl-voit.at>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Emacs hangs sometimes for no reason
Date: Tue, 11 Feb 2020 17:23:52 -0500 [thread overview]
Message-ID: <CAFm0skGif3s2ibGdar-Bqse=Hy_b5xhzYL_4sA_Cgss96oeAfw@mail.gmail.com> (raw)
In-Reply-To: <2020-02-11T13-30-20@devnull.Karl-Voit.at>
[-- Attachment #1: Type: text/plain, Size: 2202 bytes --]
Emacs periodically saves all files that you are visiting; this is called
auto-saving . Auto-saving prevents you from losing more than a limited
amount of work if the system crashes. By default, auto-saves happen every
300 keystrokes, or after around 30 seconds of idle time.
Suggest you try making your auto-save-interval variable much larger and see
if that helps
Also suggest making smaller .org files when practical
On Tue, Feb 11, 2020 at 7:33 AM Karl Voit <devnull@karl-voit.at> wrote:
> * Sebastian Christ <rudolfo.christ@gmail.com> wrote:
> > Hi list,
> >
> > in the last couple weeks (perhaps months?) Emacs hangs for no specific
> > reason for me. The single constant is, that when it hangs, it hangs
> > while I'm in org-mode. This occurs on multiple circumstance as
> >
> > - changing the outline structure by demoting and promoting headline
> > - when refiling
> > - re-schedule in agenda
> > - yanking
> > - perhaps more
>
> Same here with 3 different Emacs versions.
>
> > The strange thing is that it happens unpredictably, e.g. I re-schedule
> > 11 items without problems and the 12th one lets Emacs crash. Sometimes
> > it works for days without problems and then I promote a headline and
> > Emacs crashes. Very sad :(
>
> I did not have a crash here, though.
>
> > My actual question is, had someone had similar issues? Or is it just me
> > with my configuration?
> >
> > Perhaps someone can guide me on how I can find the root cause for this?
> > I pretty much lost here.
> >
> > Thanks in advance for any hints.
>
> In a discussion on Org/Emacs scalability issues, I got a hint[1] to use
> gcmh.el which indicates garbage collecting activity. My
> freeze-moments are almost entirely related to garbage collecting.
>
> You might want to try that.
>
> I've got no solution or workaround so far.
>
> [1]
> https://www.reddit.com/r/orgmode/comments/e9p84n/scaling_org_better_to_use_more_medsize_files_or/fcm5bsc/
>
> --
> get mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML into Org-mode:
> > get Memacs from https://github.com/novoid/Memacs <
> Personal Information Management > http://Karl-Voit.at/tags/pim/
> Emacs-related > http://Karl-Voit.at/tags/emacs/
>
>
>
[-- Attachment #2: Type: text/html, Size: 3231 bytes --]
next prev parent reply other threads:[~2020-02-11 22:24 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-14 18:33 Emacs hangs sometimes for no reason Sebastian Christ
2017-01-14 18:42 ` Nicolas Goaziou
2017-01-14 19:38 ` Samuel Wales
2017-01-15 8:52 ` Sebastian Christ
2017-01-15 8:49 ` Sebastian Christ
2020-02-11 12:32 ` Karl Voit
2020-02-11 22:23 ` briangpowell . [this message]
2020-02-12 9:09 ` Karl Voit
[not found] <375517626d9045a99b6c008b5aaf62dd@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-01-15 10:56 ` Eric S Fraga
2017-01-15 13:55 ` Stig Brautaset
2017-01-15 14:05 ` Stig Brautaset
2017-01-15 16:34 ` Eric Abrahamsen
2017-01-16 7:46 ` Michael Welle
2017-01-16 16:32 ` Eric Abrahamsen
[not found] ` <e14c1ab631e7438887615a8e568a31f5@DB5PR01MB1895.eurprd01.prod.exchangelabs.com>
2017-01-15 18:37 ` Eric S Fraga
2017-01-18 14:12 ` Samuel Loury
2017-01-19 8:37 ` Sebastian Christ
2017-01-20 7:34 ` Samuel Loury
[not found] ` <ad4e6c881fc34dbe871e0790f56d5a4e@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-01-18 16:09 ` Eric S Fraga
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='CAFm0skGif3s2ibGdar-Bqse=Hy_b5xhzYL_4sA_Cgss96oeAfw@mail.gmail.com' \
--to=briangpowellms@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=news1142@karl-voit.at \
/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.