From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#405: Emacs 22.2.1 in X behaves improperly when run with low memory limits Date: Sat, 14 Jun 2008 00:42:51 -0400 Message-ID: References: Reply-To: Stefan Monnier , 405@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1213420049 12527 80.91.229.12 (14 Jun 2008 05:07:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Jun 2008 05:07:29 +0000 (UTC) Cc: 405@emacsbugs.donarmstrong.com, bug-gnu-emacs@gnu.org To: Kwang Ketcham Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 14 07:08:11 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K7Nzl-0004mN-Sb for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Jun 2008 07:08:10 +0200 Original-Received: from localhost ([127.0.0.1]:50505 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7Nyx-0006Fk-Le for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Jun 2008 01:07:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K7Nyr-0006FZ-8z for bug-gnu-emacs@gnu.org; Sat, 14 Jun 2008 01:07:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K7Nyo-0006Es-GO for bug-gnu-emacs@gnu.org; Sat, 14 Jun 2008 01:07:12 -0400 Original-Received: from [199.232.76.173] (port=51229 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7Nyo-0006Eh-5k for bug-gnu-emacs@gnu.org; Sat, 14 Jun 2008 01:07:10 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:55304) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K7Nyn-0008FY-Mc for bug-gnu-emacs@gnu.org; Sat, 14 Jun 2008 01:07:10 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5E577Zv012205; Fri, 13 Jun 2008 22:07:08 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m5E4o5T6006957; Fri, 13 Jun 2008 21:50:05 -0700 X-Loop: don@donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 14 Jun 2008 04:50:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 405 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 405-submit@emacsbugs.donarmstrong.com id=B405.12134185815581 (code B ref 405); Sat, 14 Jun 2008 04:50:05 +0000 Original-Received: (at 405) by emacsbugs.donarmstrong.com; 14 Jun 2008 04:43:01 +0000 Original-Received: from ceviche.home (206-248-165-175.dsl.teksavvy.com [206.248.165.175]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5E4gvg6005575 for <405@emacsbugs.donarmstrong.com>; Fri, 13 Jun 2008 21:42:59 -0700 Original-Received: by ceviche.home (Postfix, from userid 20848) id B9FFF70B14; Sat, 14 Jun 2008 00:42:51 -0400 (EDT) In-Reply-To: (Kwang Ketcham's message of "Fri, 13 Jun 2008 11:12:09 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Sat, 14 Jun 2008 01:07:12 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:18381 Archived-At: > When run in an X window session and with low process memory limits, Emacs > fails to open and/or syntax highlight some files properly. To reproduce, > run: > bash --noprofile --norc > ulimit -d 10240 > emacs > Open treeset-private.hpp [attached] > If things are still going smoothly, try turning on font-lock-mode. At this > point, I get the error 'Invalid regexp: "Regular expression too big"'. > If the ulimit is set to 8MB instead of 10MB, Emacs encounters this error on > startup while attempting to load the splash screen. I have encountered > similar errors while loading or highlighting this file with memory limits up > to at least 12MB, if not larger. Sometimes the file will fail to load; What can I say: it needs more memory. That it fails gracefully rather than crashing and burning is rather good than bad, don't you think? Stefan