all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Observing lags or never ending processes
Date: Mon, 19 Sep 2022 21:43:57 +0300	[thread overview]
Message-ID: <Yyi4bcsGrKgt4QTH@protected.localdomain> (raw)
In-Reply-To: <83illm35h1.fsf@gnu.org>

* Eli Zaretskii <eliz@gnu.org> [2022-09-17 09:02]:
> > Date: Fri, 16 Sep 2022 22:06:28 +0300
> > From: Jean Louis <bugs@gnu.support>
> > Cc: help-gnu-emacs@gnu.org
> > 
> > * Eli Zaretskii <eliz@gnu.org> [2022-09-11 16:18]:
> > > I suggest to begin by saying
> > > 
> > >   M-x set-variable RET garbage-collection-messages RET t RET
> > > 
> > > and then see if, when "something starts in the background", you see
> > > the telltale "Garbage collecting..." message in the echo area.
> > 
> > I have observed it and I think that sometimes garbage collection is
> > invoked without message being visible
> 
> I don't believe this is possible.
> 
> 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?

I am human, and I cannot calculate memory and what. Does Emacs have
limit option to not load packages over specific memory?

Today I was waiting 1 hour for garbage collection, two times, before I
killed Emacs.

And M-x memory-report never returns as well.


Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/




  reply	other threads:[~2022-09-19 18:43 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-11  6:59 Observing lags or never ending processes Jean Louis
2022-09-11  7:06 ` Eli Zaretskii
2022-09-11 12:36   ` Jean Louis
2022-09-11 13:16     ` Eli Zaretskii
2022-09-11 13:31       ` Jean Louis
2022-09-11 20:21       ` Jean Louis
2022-09-12  2:26         ` Eli Zaretskii
2022-09-12  5:53           ` Jean Louis
2022-09-12 11:19             ` Eli Zaretskii
2022-09-12 12:35               ` Jean Louis
2022-09-12  7:50           ` Jean Louis
2022-09-12 11:32             ` Eli Zaretskii
2022-09-16 19:06       ` Jean Louis
2022-09-17  6:00         ` Eli Zaretskii
2022-09-19 18:43           ` Jean Louis [this message]
2022-09-19 19:01             ` Eli Zaretskii
2022-09-20  4:42               ` Jean Louis
2022-09-20  7:54                 ` Emanuel Berg
2022-09-22 20:30                   ` Jean Louis
2022-09-23  5:30                     ` Jean Louis
2022-09-23  6:13                     ` Eli Zaretskii
2022-09-23  8:17                       ` Jean Louis
2022-09-23 10:42                         ` Eli Zaretskii
2022-09-23 14:16                           ` Jean Louis
2022-09-24 15:30                             ` Emanuel Berg
2022-09-23 11:30                     ` Emanuel Berg
2022-09-20 11:20                 ` Eli Zaretskii
2022-09-20 18:17                   ` Emanuel Berg
2022-09-19 23:11             ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-09-11 15:57   ` Jean Louis

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=Yyi4bcsGrKgt4QTH@protected.localdomain \
    --to=bugs@gnu.support \
    --cc=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /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.