GNU bug report logs - #405
Emacs 22.2.1 in X behaves improperly when run with low memory limits

Previous Next

Package: emacs;

Reported by: Kwang Ketcham <kketcham <at> cs.hmc.edu>

Date: Fri, 13 Jun 2008 18:20:04 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 405 in the body.
You can then email your comments to 405 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#405; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Kwang Ketcham <kketcham <at> cs.hmc.edu>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Kwang Ketcham <kketcham <at> cs.hmc.edu>
To: bug-gnu-emacs <at> gnu.org
Subject: Emacs 22.2.1 in X behaves improperly when run with low memory limits
Date: Fri, 13 Jun 2008 11:12:09 -0700 (PDT)
[Message part 1 (text/plain, inline)]
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; sometimes it will load but be improperly highlighted; other 
times it will load but nothing will be highlighted and the modified flag 
will be set.  Behavior is inconsistent; sometimes, simply reissuing the 
open file command or toggling font-lock-mode will fix things.  If you have 
further questions about the bug, contact me at kketcham <at> cs.hmc.edu.  Thank 
you.

Kwang Ketcham
Harvey Mudd College
CS Department Staff
[treeset-private.hpp (text/x-c++hdr, attachment)]

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#405; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #10 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Kwang Ketcham <kketcham <at> cs.hmc.edu>
Cc: 405 <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
Subject: Re: 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
> 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





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#405; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

bug closed, send any further explanations to Kwang Ketcham <kketcham <at> cs.hmc.edu> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Tue, 01 Jul 2008 01:05:07 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Tue, 29 Jul 2008 14:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 325 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.