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: Sun, 27 Nov 2011 18:37:18 +0100 Message-ID: References: <4ED0F945.5090805@yandex.ru> <83pqge7syw.fsf@gnu.org> <83mxbi7hip.fsf@gnu.org> <83hb1p7bwc.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1322415451 29946 80.91.229.12 (27 Nov 2011 17:37:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 27 Nov 2011 17:37:31 +0000 (UTC) Cc: antipov@mvista.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 27 18:37:27 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 1RUifO-0003Ik-BT for ged-emacs-devel@m.gmane.org; Sun, 27 Nov 2011 18:37:26 +0100 Original-Received: from localhost ([::1]:42035 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUifN-0003fc-Uc for ged-emacs-devel@m.gmane.org; Sun, 27 Nov 2011 12:37:25 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:41735) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUifL-0003ec-3h for emacs-devel@gnu.org; Sun, 27 Nov 2011 12:37:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RUifK-0005xy-6y for emacs-devel@gnu.org; Sun, 27 Nov 2011 12:37:23 -0500 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:63140) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUifH-0005xa-8Q; Sun, 27 Nov 2011 12:37:19 -0500 Original-Received: by iaek3 with SMTP id k3so9682602iae.0 for ; Sun, 27 Nov 2011 09:37:18 -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:content-transfer-encoding; bh=tb+Nx0Jq6jzZySfkRzGxVL2mB6OApMi49Qf506xbPhg=; b=e8SySXCzIGEzYtr0j4VA+5jm1r3m2Tw+yAeHibqLvo5tTGZQavqTIRMm/IEgBAYSBA V0dAtGrdJqpfmhQBH/Mi7D/GE3QXhLU9dsxY2EXFdYB2k0x7uiKi3NQmsrIWpsy2UbLT YiY9/MM8CRNXeUXB698uEblgruqSgPLbSEdJw= Original-Received: by 10.50.242.103 with SMTP id wp7mr51075972igc.21.1322415438400; Sun, 27 Nov 2011 09:37:18 -0800 (PST) Original-Received: by 10.50.190.167 with HTTP; Sun, 27 Nov 2011 09:37:18 -0800 (PST) In-Reply-To: <83hb1p7bwc.fsf@gnu.org> 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:146288 Archived-At: On Sun, Nov 27, 2011 at 5:44 PM, Eli Zaretskii wrote: >> Date: Sun, 27 Nov 2011 14:53:44 +0100 >> From: Carsten Mattner >> Cc: antipov@mvista.com, emacs-devel@gnu.org >> >> Anything inefficent, wrong or dangerous? > > No inefficiency can explain a memory leak. Of course not, I'm just asking for enhancements/cleanups of my Ido settings. Especially as you seem to think that the second results - which were without Ido - are more in line of expected memory usage. > The number of conses seems to go up, but I'm not sure whether it's > normal or not, especially since the growth seems relatively small. > Maybe doing the same many more times will tell. =A0Also, putting a > breakpoint in Fcons and Flist and looking at the cons cells we > allocate could give some hint. > > Another way would be to try using some other mode, not erlang or ido, > and see if the memory grows similarly. Sure, I can also use basic Text mode for testing just to see. It seems that > Of course, these are all stabs in the dark. =A0I don't really know > what's going on there, just throwing some random thoughts. =A0Caveat > emptor. If you can whip up some quick elisp to automate what you're interested in collecting, which I doubt with me having to do some actions, call garbage-collect, do some more, gc again..., I can run that. Now let me do some non erlang-mode tests.