emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: reproducible cygwin memory problems


From: Eli Zaretskii
Subject: Re: reproducible cygwin memory problems
Date: Sun, 06 Aug 2006 06:25:25 +0300

> From: "emacs user" <address@hidden>
> Cc: address@hidden
> Bcc: 
> Date: Sat, 05 Aug 2006 17:01:59 -0400
> 
> >Now locate in src/config.h the definitions of GNU_MALLOC and REL_ALLOC
> >(they should be both defined to 1), and try to modify them.  First,
> >replace the line
> >
> >   #define REL_ALLOC 1
> >
> >with
> >
> >   #undef REL_ALLOC
> >
> >rebuild Emacs, and see if that helps.  If not, #undef GNU_MALLOC as
> >well, rebuild, and repeat the test.
> 
> as far as I can tell making these changes does not eliminate the problem.  I 
> made the two variants you proposed for these changes, and in each case ran 
> make distclean, configure, make.

It sounds like my theory was wrong.

Does Emacs release the memory to system in general?  For example, if
you visit a very large file, then kill its buffer and type

  M-x garbage-collect RET

does the memory footprint return to the value it had before visiting
the large file?

(Btw, I hope you do all these tests in "emacs -Q"; if not, please do.)




reply via email to

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