From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Observing lags or never ending processes Date: Mon, 19 Sep 2022 22:01:06 +0300 Message-ID: <83edw7xk7h.fsf@gnu.org> References: <83bkrm9ype.fsf@gnu.org> <83v8pu8312.fsf@gnu.org> <83illm35h1.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19339"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 19 21:01:55 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oaM1i-0004ol-HJ for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 19 Sep 2022 21:01:54 +0200 Original-Received: from localhost ([::1]:32856 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oaM1h-0007Q7-Ga for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 19 Sep 2022 15:01:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53392) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaM0t-0007Nv-52 for help-gnu-emacs@gnu.org; Mon, 19 Sep 2022 15:01:03 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56036) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaM0s-0001Fo-TM for help-gnu-emacs@gnu.org; Mon, 19 Sep 2022 15:01:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Dv8RxVP/fICUd0U1wAYMkshutjVkcPTnlp2kDtf6UCg=; b=LA4QSj6PijoS W+Tgcp2/NFslINhR2hkEvIyb0awcXJIEgqeXDhJSRl+EZDB0CY/2OBLsS4Gk/nQpUdpJvqGWMdwYb Ft396SC7vCBCjyKMOouXrgxsXjQ6b6QzjWiL2JQXeznAZf289X92yR5WPQY/or2hc/S9a78bF653a Mue4uPwk4OT8/aDgiVeDRY5K3I38k4fMRv8hrV1dKPIujYHzJl2bRWJ6pRBNBjek4bnapp/hgXvPW pSh5rpbo8XQrF5pWV+dckaNBujWwrF5unn7E9hi1UIJSxAml6LG+OefQV9/qw1dvI8z1xkhZgMLSa njGltfYX2YGfYUXPiArDXg==; Original-Received: from [87.69.77.57] (port=1611 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaM0s-0002Y9-AU for help-gnu-emacs@gnu.org; Mon, 19 Sep 2022 15:01:02 -0400 In-Reply-To: (message from Jean Louis on Mon, 19 Sep 2022 21:43:57 +0300) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:139584 Archived-At: > Date: Mon, 19 Sep 2022 21:43:57 +0300 > From: Jean Louis > Cc: help-gnu-emacs@gnu.org > > > But if GC is responsible for those "lags", then it's normal Emacs > > operation, and you should look into changing your use patterns and > > packages you load so as to make the memory footprint of your Emacs > > sessions smaller, preferably so that it is never swapped out of > > physical memory. If you customized the GC threshold to a much higher > > value, lower it. Or maybe you have some other memory-intensive > > programs on your system that create situations where some of Emacs's > > memory is swapped out. These are all reasons for GC being much slower > > than it's supposed to be. > > How exactly can I change use patterns? How should I know? I don't even know what are your present use patterns, which packages you routinely load, which ones you use frequently, how many buffers are typically present in your session, etc. etc. > Today I was waiting 1 hour for garbage collection, two times, before I > killed Emacs. Did you change the GC thresholds? (I asked that above, but you didn't answer.)