all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: imi.horvath@gmail.com
To: help-gnu-emacs@gnu.org
Subject: Re: Hang on startup on OS X (GUI only)
Date: Sun, 29 Mar 2015 10:49:49 -0700 (PDT)	[thread overview]
Message-ID: <f2f7d89d-c9ed-4d21-b453-abb33043f688@googlegroups.com> (raw)
In-Reply-To: <5d07da3a-13a7-404c-9a57-a923d3d05003@googlegroups.com>

On Monday, February 16, 2015 at 3:12:30 AM UTC+1, kgthegreat wrote:
> > Emacs often hangs on startup on Mac OS X. The hangs are non-deterministic
> > but frequent (25-50% of runs), consume 100% of CPU, and only happen when
> > starting Emacs.app with the GUI enabled, never when running in text mode on
> > the command-line. I have reproduced the hangs with an empty .emacs file and
> > after having completely removed .emacs.d.
> 
> I used to face this problem on MBP. Due to the following observations, I think this problem is related to memory consumption.
> 
> 1. Never happens after a restart, if emacs is the first app to run.
> 2. Almost always happens if emacs is run when MBP is up for a long time with lot of other apps.
> 3. Killing most apps especially chrome and then starting emacs = success.
> 
> Since then, I have upgraded the RAM from 2 + 2 config to 8 + 2 and have never faced this issue so far.

Yes, I agree. I've got a similar pattern here. When other apps and the caching of OS X uses up the physical memory (2+2 GB in my case) and I launch the Emacs.app, it happens most certainly.
I've got the feeling that it's a bug related to the interplay between the Cocoa Emacs.app startup code and the memory management in OS X...


  reply	other threads:[~2015-03-29 17:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.155.1424033000.31049.help-gnu-emacs@gnu.org>
2015-02-16  2:12 ` Hang on startup on OS X (GUI only) kgthegreat
2015-03-29 17:49   ` imi.horvath [this message]
2015-04-11 21:03 ` enterprise
2015-05-07  4:37 ` bitti1975
2015-10-13 15:38   ` davidmortensen
2015-10-14  2:50     ` Stefan Monnier
2015-11-01 17:30       ` Guido Van Hoecke
2016-02-20 12:45 ` enrique.manjavacas
2016-02-20 17:02   ` Guido Van Hoecke
2015-02-15 19:28 Elliott Slaughter
2015-02-15 21:01 ` Guido Van Hoecke
2015-02-15 21:20 ` Drew Adams
2015-02-16 17:03   ` Elliott Slaughter

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=f2f7d89d-c9ed-4d21-b453-abb33043f688@googlegroups.com \
    --to=imi.horvath@gmail.com \
    --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.