From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Voit Subject: Re: Emacs hangs sometimes for no reason Date: Tue, 11 Feb 2020 13:32:52 +0100 Message-ID: <2020-02-11T13-30-20@devnull.Karl-Voit.at> References: Reply-To: Karl Voit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:57163) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1Uis-0000sk-6L for emacs-orgmode@gnu.org; Tue, 11 Feb 2020 07:33:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j1Uir-00029i-07 for emacs-orgmode@gnu.org; Tue, 11 Feb 2020 07:33:02 -0500 Received: from ciao.gmane.io ([159.69.161.202]:56368) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j1Uiq-00028i-QT for emacs-orgmode@gnu.org; Tue, 11 Feb 2020 07:33:00 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1j1Uip-000Fgi-4j for emacs-orgmode@gnu.org; Tue, 11 Feb 2020 13:32:59 +0100 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: emacs-orgmode@gnu.org * 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/