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:02:59 +0100 [thread overview]
Message-ID: <CACY+HvpPtgm7j8FurKDVD5fGxn1=rZYznVmuaK-bLbWDhE5ozg@mail.gmail.com> (raw)
In-Reply-To: <87boo16mrn.fsf@gnu.org>
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.
next prev parent reply other threads:[~2012-03-13 9:02 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 [this message]
2012-03-13 9:16 ` Carsten Mattner
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CACY+HvpPtgm7j8FurKDVD5fGxn1=rZYznVmuaK-bLbWDhE5ozg@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.