Article View: gnu.emacs.bug
Article #98330Re: Does gnu emacs ever compact its heap
From: Randy S. Welch
Date: Thu, 17 Oct 1991 04:35
Date: Thu, 17 Oct 1991 04:35
21 lines
1807 bytes
1807 bytes
In article <9110152202.AA08031@underprize.think.com> rlk@think.com (Robert L Krawitz) writes:
Date: Tue, 15 Oct 91 17:46:40 EDT
From: Tim McNerney <TimMcN@Berlin.Think.COM>
My officemate has noticed that gmacs thrashes more and more the longer
gmacs has been running (eg. days, weeks). Getting rid of buffers does not
seem to help. This has led me to wonder whether emacs ever compacts its
heap. If it did, I suppose that the GC doesn't have to page as frequently
while GCing. This behavior is especially noticeable on a SPARCstation 1
with 4Mb of physical memory. Regardless of the size of image (eg. 11Mb),
no more than 1.6Mb appear to ever be resident.
It never compacts its buffer space. The lisp heap is compacted.
I posted a patch to 18.55/18.57 about a month ago that allows emacs to be
compiled with the malloc from prep.ai.mit.edu, that will try to give
memory back to the system, thus decreasing process size. If there is
interest I'll post it again.
-randy
Technical Details
Message-ID:
<RWELCH.91Oct17003555@isis.isis.cs.du.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!math.fu-berlin.de!mailgzrz!Sirius.dfn.de!darwin.sura.net!udel!wupost!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!isis.cs.du.edu!rwelchReferences:
rwelch@isis.cs.du.edu (Randy S. Welch)Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,22544d7941587ce4 X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1991-10-16 21:35:55 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!math.fu-berlin.de!mailgzrz!Sirius.dfn.de!darwin.sura.net!udel!wupost!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!isis.cs.du.edu!rwelch From: rwelch@isis.cs.du.edu (Randy S. Welch) Newsgroups: gnu.emacs.bug Subject: Re: Does gnu emacs ever compact its heap Message-ID: <RWELCH.91Oct17003555@isis.isis.cs.du.edu> Date: 17 Oct 91 04:35:55 GMT References: rwelch@isis.cs.du.edu (Randy S. Welch) Sender: gnulists@ai.mit.edu Distribution: gnu Organization: Public Access Unix - Univ. of Denver, Math Dept. Lines: 21 Approved: bug-gnu-emacs@prep.ai.mit.edu