emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to debug out of memory situation?


From: Richard Stallman
Subject: Re: How to debug out of memory situation?
Date: Wed, 28 May 2003 19:57:58 -0400

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]