From mboxrd@z Thu Jan 1 00:00:00 1970 From: "briangpowell ." Subject: Re: Emacs hangs sometimes for no reason Date: Tue, 11 Feb 2020 17:23:52 -0500 Message-ID: References: <2020-02-11T13-30-20@devnull.Karl-Voit.at> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000029a62c059e5450db" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:37408) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1dwr-0002bX-Ku for emacs-orgmode@gnu.org; Tue, 11 Feb 2020 17:24:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j1dwq-0008Sv-5I for emacs-orgmode@gnu.org; Tue, 11 Feb 2020 17:24:05 -0500 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:36495) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j1dwp-0008SM-VA for emacs-orgmode@gnu.org; Tue, 11 Feb 2020 17:24:04 -0500 Received: by mail-wm1-x331.google.com with SMTP id p17so5728530wma.1 for ; Tue, 11 Feb 2020 14:24:03 -0800 (PST) In-Reply-To: <2020-02-11T13-30-20@devnull.Karl-Voit.at> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Sender: "Emacs-orgmode" To: Karl Voit Cc: emacs-orgmode --00000000000029a62c059e5450db Content-Type: text/plain; charset="UTF-8" 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 wrote: > * Sebastian Christ 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/ > > > --00000000000029a62c059e5450db Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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 hap= pen every 300 keystrokes, or after around 30 seconds of idle time.
=
Suggest you try making your=C2=A0auto-save-interval variable= much larger and see if that helps

Also suggest ma= king 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 m= e
> 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_bette= r_to_use_more_medsize_files_or/fcm5bsc/

--
get mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML into Org-mode:<= br> =C2=A0 =C2=A0 =C2=A0 =C2=A0> get Memacs from https://github.com/n= ovoid/Memacs <
Personal Information Management > http://Karl-Voit.at/tags/pim/<= br> Emacs-related > http://Karl-Voit.at/tags/emacs/


--00000000000029a62c059e5450db--