From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: kgthegreat Newsgroups: gmane.emacs.help Subject: Re: Hang on startup on OS X (GUI only) Date: Sun, 15 Feb 2015 18:12:28 -0800 (PST) Message-ID: <5d07da3a-13a7-404c-9a57-a923d3d05003@googlegroups.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1424105452 11166 80.91.229.3 (16 Feb 2015 16:50:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Feb 2015 16:50:52 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 16 17:50:52 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YNOsl-0004js-MY for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Feb 2015 17:50:51 +0100 Original-Received: from localhost ([::1]:40884 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNOsl-0000UQ-6o for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Feb 2015 11:50:51 -0500 X-Received: by 10.68.57.130 with SMTP id i2mr19113386pbq.1.1424052748955; Sun, 15 Feb 2015 18:12:28 -0800 (PST) X-Received: by 10.50.60.71 with SMTP id f7mr337806igr.10.1424052748837; Sun, 15 Feb 2015 18:12:28 -0800 (PST) Original-Path: usenet.stanford.edu!hl2no17033161igb.0!news-out.google.com!db6ni25589igc.0!nntp.google.com!hl2no11784757igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=117.192.233.135; posting-account=g_uQqgoAAABy1VGYN9vKQgN7l6N83Z0R Original-NNTP-Posting-Host: 117.192.233.135 User-Agent: G2/1.0 Injection-Date: Mon, 16 Feb 2015 02:12:28 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:210463 X-Mailman-Approved-At: Mon, 16 Feb 2015 11:50:28 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102746 Archived-At: > 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.