unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Carsten Mattner <carstenmattner@googlemail.com>
To: Chong Yidong <cyd@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Pretest note
Date: Tue, 13 Mar 2012 10:16:27 +0100	[thread overview]
Message-ID: <CACY+HvpwNp=D72E48ksp8xKUUbPBifSv-yjfMPv+Dw+gZgdGpA@mail.gmail.com> (raw)
In-Reply-To: <CACY+HvpPtgm7j8FurKDVD5fGxn1=rZYznVmuaK-bLbWDhE5ozg@mail.gmail.com>

On Tue, Mar 13, 2012 at 10:02 AM, Carsten Mattner
<carstenmattner@googlemail.com> wrote:
> On Tue, Mar 13, 2012 at 7:25 AM, Chong Yidong <cyd@gnu.org> wrote:
>> Carsten Mattner <carstenmattner@googlemail.com> writes:
>>
>>> Don't we want to do something about the leak(s) or at least verify
>>> down that they're correct "caching" or "reuse" behavior?
>>
>> AFAICT, this is Jan's report that memory is not returned to the system
>> on Mac OS?  Obviously, if someone can help pin this down, that will be
>> appreciated.  Yamamoto Mitsuharu gave one suggestion here:
>
> While Jan was able to fix some obvious Cocoa issues and crashes,
> this is not a Mac OS specific problem. I see the same extensive
> non-reclaimed memory growth on Linux in both the X and terminal
> client.
>
>> http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00358.html.
>>
>> Also, I'd like to know whether it really involves memory not being
>> returned at all, independently of gnutls and networking.  For example,
>
> No network or gnutls use in any of my Linux and OS X builds.
>
> config options on Linux:
> --without-selinux --without-tiff \
>    --without-sound --without-dbus --without-gconf \
>    --without-gsettings --without-xft --without-gsettings \
>    --without-jpeg --without-gif --without-gpm \
>    --with-x-toolkit=no --without-gnutls"
>
> config options on Mac OS (to force building a 32-bit binary):
> CFLAGS=$CFLAGS CC='gcc -arch i386' ./configure --with-ns --without-gnutls
>
> Maybe I should also disable xml2 and png as those might be enabled.
>
>> here is some Elisp code that visits a file and kills the buffer a few
>> thousand times:
>>
>> (dotimes (n 50000)
>>  (with-temp-buffer
>>    (insert-file-contents "/path/to/emacs/etc/NEWS")))
>>
>> If Emacs on Mac OS really never returns memory, this should chew up all
>> the memory on your system.  Does it?  Check also if Emacs 23 is
>> affected.
>
> If and only if that usage pattern is at fault, yes. I'll give it a try.

Let's not forget that I'd like to use --daemon, but that's not practical
as long as I don't have more physical memory or the leak is
plugged.

<seriously>
If we don't find the problem, I'm not insisting on delaying the release
for me personally. I'm fine tracking bzr and restarting Emacs on an
hourly basis to try one of the two daily rebuilds. I'm used to it.
</seriously>

<rant>
A shorter release cycle would remove the pressure, especially
as most users seem to have enough physical memory to not
care about the leak or fast enough machines to live with the
cc-mode performance regressions. More users should ideally
equal more testers and more useful feedback.
</rant>

Chong, thanks for taking this seriously and writing it off as ghosts
seen by a couple users.



  reply	other threads:[~2012-03-13  9:16 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-12  3:13 Pretest note Chong Yidong
2012-03-12  6:17 ` Jambunathan K
2012-03-12 11:08 ` Leo
2012-03-12 11:12   ` Lars Magne Ingebrigtsen
2012-03-12 11:30     ` Leo
2012-03-12 13:39 ` Carsten Mattner
2012-03-13  6:25   ` Chong Yidong
2012-03-13  9:02     ` Carsten Mattner
2012-03-13  9:16       ` Carsten Mattner [this message]
2012-03-13  9:17         ` Carsten Mattner
2012-03-13  9:33         ` Tassilo Horn
2012-03-13 10:31           ` Carsten Mattner
2012-03-13 10:46             ` Carsten Mattner
2012-03-13 10:28     ` Jan Djärv
2012-03-13 10:39     ` Jan Djärv
2012-03-14  6:24       ` Chong Yidong
2012-03-14 10:25     ` Carsten Mattner
2012-03-12 16:30 ` John Yates
2012-03-13  6:31   ` Chong Yidong
2012-03-12 22:34 ` David De La Harpe Golden
2012-03-13 13:00   ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2012-03-14 20:22 Angelo Graziosi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CACY+HvpwNp=D72E48ksp8xKUUbPBifSv-yjfMPv+Dw+gZgdGpA@mail.gmail.com' \
    --to=carstenmattner@googlemail.com \
    --cc=cyd@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).