all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Steinar Bang <sb@dod.no>
To: help-gnu-emacs@gnu.org
Subject: 100% CPU usage on emacs startup (Was: Avoiding autosave of JDEE flycheck files?)
Date: Thu, 31 Jan 2019 19:14:59 +0100	[thread overview]
Message-ID: <867eekpucc.fsf@dod.no> (raw)
In-Reply-To: <86fttbpd7q.fsf@dod.no> (Steinar Bang's message of "Tue, 29 Jan 2019 18:48:09 +0100")

>>>>> Steinar Bang <sb@dod.no>:

> Platform: debian 9.7 "stretch", amd64, emacs 25.1+1-4+deb9u1,
>           jdee 20180831.1500 (from melpa)

> I'm getting a lot of messages like this, when exiting emacs, and when
> running M-x compile :
>  Save file /tmp/JDEE_flycheck_16412_kQ/Role.java? (y, n, !, ., q, C-r or C-h)

This problem seems to have gone away, however...

> An extra datapoint: I'm using emacs-desktop to restore the desktop where
> this occurs.  I don't know if that's significant or not?

When starting up and restoring the desktop emacs uses 100% of one of the
cores, and after 1h of starup still hasn't completed (and this is a
pretty fast machine).

Does anyone know what causes this?  Is emacs-desktop restore and JDEE
just a bad mix?

One more datapoint: this is when using remote X display over an SSH
connection with X forwarding.

Thanks!



  reply	other threads:[~2019-01-31 18:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-29 17:48 Avoiding autosave of JDEE flycheck files? Steinar Bang
2019-01-31 18:14 ` Steinar Bang [this message]
2019-02-02  7:38   ` 100% CPU usage on emacs startup Steinar Bang
2019-02-03 18:17     ` Steinar Bang
2019-02-03 18:32       ` Eli Zaretskii
2019-02-03 21:36         ` Steinar Bang
2019-02-06 19:10           ` Steinar Bang

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=867eekpucc.fsf@dod.no \
    --to=sb@dod.no \
    --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.