From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: How to debug out of memory situation?
Date: Wed, 28 May 2003 19:57:58 -0400 [thread overview]
Message-ID: <E19LAnu-0001FC-7s@fencepost.gnu.org> (raw)
In-Reply-To: <84n0h8l98r.fsf@lucy.is.informatik.uni-duisburg.de> (kai.grossjohann@gmx.net)
If you put a breakpoint in memory_full, you will be able to make a
backtrace. If Emacs is continuing to use memory for a certain purpose
and ran out while trying to do more of that, you should see within a
few cases what the pattern is.
It might be useful to add more history records of why memory was
allocated, for the last 20 times (say). It is not easy to see how to
record the history. A useful history record might really want to be a
backtrace of some sort. Perhaps a list of the innermost 10 Lisp
functions (which can be found by scanning `backlist') would be useful.
next prev parent reply other threads:[~2003-05-28 23:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-27 15:06 How to debug out of memory situation? Kai Großjohann
2003-05-28 23:57 ` Richard Stallman [this message]
2003-06-09 17:23 ` Kai Großjohann
2003-06-15 15:59 ` Richard Stallman
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E19LAnu-0001FC-7s@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=emacs-devel@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.