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.

Full log


View this message in rfc822 format

From: Kwang Ketcham <kketcham <at> cs.hmc.edu>
To: bug-gnu-emacs <at> gnu.org
Subject: bug#405: 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)]

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.