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: Stefan Monnier
Subject: Re: reproducible cygwin memory problems
Date: Mon, 07 Aug 2006 11:57:39 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> However, comparing to the mingw port, I notice that M-:(clear-image-cache t)
> has no effect under cygwin, but does result in memory decrease after editing
> an image in mingw.

Sounds like cygwin's implementation of the basic memory management
primitives never returns memory to the system.  Or at least not when used in
the way Emacs uses it.  That can happen without it being considered a bug
(just a misfeature) because it doesn't increase the max memory usage.

> perhaps you can suggest a remedy for this as well?

Can you try to add

  #define SYSTEM_MALLOC 1

in src/s/cygwin.h (maybe you'll need to undef REL_ALLOC and GNU_ALLOC for
this to work, I don't know)?


        Stefan





reply via email to

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