From: Chong Yidong <cyd@stupidchicken.com>
To: laurent@guerby.net
Cc: John Sullivan <johns@fsf.org>, 2685@emacsbugs.donarmstrong.com
Subject: bug#2685: Emergency (alloc): Warning: past 85% of memory limit
Date: Fri, 22 May 2009 00:39:27 -0400 [thread overview]
Message-ID: <874ovdeoow.fsf@cyd.mit.edu> (raw)
In-Reply-To: <1242886205.6098.150.camel@localhost> (Laurent GUERBY's message of "Thu, 21 May 2009 08:10:05 +0200")
The problem is that Emacs is not determining the start of the data
segment properly on MIPS machines. In src/m/mips.h, we define
DATA_START as 0x10000000. There must be a reason for this, but it's
wrong on the machine you provided for testing; there, __morecore reports
the memory break (which must lie inside the data segment) as a value
less than 0x10000000.
If I comment out DATA_START, so that Emacs uses another method to
determine the start of the data segment size, everything seems to work
OK. But I don't know if this may lead to a different bug elsewhere.
*** trunk/src/m/mips.h.~1.42.~ 2009-03-12 09:42:54.000000000 -0400
--- trunk/src/m/mips.h 2009-05-22 00:34:03.000000000 -0400
***************
*** 49,55 ****
/* Describe layout of the address space in an executing process. */
#define TEXT_START 0x00400000
! #define DATA_START 0x10000000
\f
#if 0 /* These definitions were advantageous when not using
--- 49,55 ----
/* Describe layout of the address space in an executing process. */
#define TEXT_START 0x00400000
! /* #define DATA_START 0x10000000 */
\f
#if 0 /* These definitions were advantageous when not using
next prev parent reply other threads:[~2009-05-22 4:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-20 23:32 bug#2685: Emergency (alloc): Warning: past 85% of memory limit Chong Yidong
[not found] ` <1242886205.6098.150.camel@localhost>
2009-05-22 4:39 ` Chong Yidong [this message]
[not found] ` <8763fubnob.fsf@cyd.mit.edu>
[not found] ` <1242926620.6098.168.camel@localhost>
[not found] ` <1242942956.6098.170.camel@localhost>
[not found] ` <87ljop561r.fsf@cyd.mit.edu>
2009-03-16 11:13 ` Laurent GUERBY
2009-05-22 18:50 ` bug#2685: marked as done (Emergency (alloc): Warning: past 85% of memory limit) Emacs bug Tracking System
2009-05-27 3:06 ` bug#2685: Emergency (alloc): Warning: past 85% of memory limit John Sullivan
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874ovdeoow.fsf@cyd.mit.edu \
--to=cyd@stupidchicken.com \
--cc=2685@emacsbugs.donarmstrong.com \
--cc=johns@fsf.org \
--cc=laurent@guerby.net \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).