From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Carsten Mattner Newsgroups: gmane.emacs.devel Subject: Re: Memory again Date: Fri, 9 Dec 2011 14:52:56 +0100 Message-ID: References: <4ED0F945.5090805@yandex.ru> <83pqge7syw.fsf@gnu.org> <87mxb6tkji.fsf@wanadoo.es> <4EDDED4B.7030607@yandex.ru> <8362htbos6.fsf@gnu.org> <4EDF20A7.6090701@yandex.ru> <4EE182DB.1000805@yandex.ru> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1323438785 30087 80.91.229.12 (9 Dec 2011 13:53:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 9 Dec 2011 13:53:05 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dmitry Antipov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 09 14:53:02 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RZ0sn-0004So-Uz for ged-emacs-devel@m.gmane.org; Fri, 09 Dec 2011 14:53:02 +0100 Original-Received: from localhost ([::1]:49075 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZ0sn-0003XH-Gu for ged-emacs-devel@m.gmane.org; Fri, 09 Dec 2011 08:53:01 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:34789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZ0sk-0003Wx-TZ for emacs-devel@gnu.org; Fri, 09 Dec 2011 08:52:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RZ0sj-0003UL-MS for emacs-devel@gnu.org; Fri, 09 Dec 2011 08:52:58 -0500 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:52081) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZ0sj-0003UG-Ef for emacs-devel@gnu.org; Fri, 09 Dec 2011 08:52:57 -0500 Original-Received: by iahk25 with SMTP id k25so5035942iah.0 for ; Fri, 09 Dec 2011 05:52:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=3VhxmckfLwVIPQ3kRap3A4JlUWf7Aqhdv3R5PjBWDms=; b=T9qdq53NkfQ/T0hr9F4chDUu4/sL2ybLHhTKvuoBquiH0a2Jg8UG1bLCmNFlVN4xnx 69/b3YvaOq2Z73VcJDWVv18Rnpoll/WhJ1D6WjNPJG7v80Q83KizRzDzmMcgU4Gkt8Hs iGR1VD//Ec/WByCfexAwjtTBPMr3mxePA7BJ8= Original-Received: by 10.50.188.129 with SMTP id ga1mr3365730igc.69.1323438776728; Fri, 09 Dec 2011 05:52:56 -0800 (PST) Original-Received: by 10.50.190.167 with HTTP; Fri, 9 Dec 2011 05:52:56 -0800 (PST) In-Reply-To: <4EE182DB.1000805@yandex.ru> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:146598 Archived-At: On Fri, Dec 9, 2011 at 4:39 AM, Dmitry Antipov wrote: > On 12/08/2011 09:30 PM, Carsten Mattner wrote: > >> Again, totally unscientific test without real instruments. >> >> On a fresh trunk --with-ns build: >> >> paste "(insert (apply #'concat (make-list 1000000 "test:1:oops\n")))" >> to *scratch* and M-x eval-buffer: from 21.8MB to 55.8MB >> >> as this was *scratch*, open ~/.bashrc in another buffer and kill both >> and it's down to 44.4MB >> >> M-x garbage-collect 32.9MB >> >> M-x garbage-collect, M-x garbage-collect: 29.2MB > > > You should say M-x compilation-minor-mode for *scratch* - that's the point > of this test case. Oops, sorry. New test results follow. Emacs.app Darwin 10.7.2 32-bit binary fresh start: 20.9MB M-x compilation-minor-mode: 21.6MB paste test elisp code: 21.6MB M-x eval-buffer: 52.8MB M-x garbage-collect: 41.4MB New empty buffer: 41.4MB kill-buffer in compilation-minor-mode: 29.9MB kill-buffer the new buffer: 30.0MB M-x garbage-collect M-x garbage-collect M-x garbage-collect M-x garbage-collect: 30.0MB