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: emacs user
Subject: Re: reproducible cygwin memory problems
Date: Wed, 09 Aug 2006 18:13:24 -0400

first, I noticed that when I undef rel_alloc, while this seems to add some stability while editing images, there seems to be a problem with returning memory to the OS even with text files. so the test below is with the config.h as obtained from the configure script.

From: Eli Zaretskii <address@hidden>
Sorry, my bad: I meant clear_image_cache, not Fclear_image_cache.  The
former is where the real work is being done, and the if and the loop I
described are there.


 if (c && INTEGERP (Vimage_cache_eviction_delay))
   {
    fprintf(stderr, "I am here4\n");
     EMACS_TIME t;
     unsigned long old;
     int i, nfreed;

     EMACS_GET_TIME (t);
     old = EMACS_SECS (t) - XFASTINT (Vimage_cache_eviction_delay);

     /* Block input so that we won't be interrupted by a SIGIO
         while being in an inconsistent state.  */
     BLOCK_INPUT;

     for (i = nfreed = 0; i < c->used; ++i)
        {
    fprintf(stderr, "I am here5\n");
          struct image *img = c->images[i];


--------------  start emacs -Q
I am here4
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
------------- M-:(clear-image-cache t)
I am here1
I am here2
I am here4
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here4
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
I am here5
----------------exit emacs here.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/





reply via email to

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