From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Antipov Newsgroups: gmane.emacs.devel Subject: Re: Memory again Date: Sat, 26 Nov 2011 18:35:49 +0400 Message-ID: <4ED0F945.5090805@yandex.ru> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1322318142 15864 80.91.229.12 (26 Nov 2011 14:35:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 26 Nov 2011 14:35:42 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 26 15:35:38 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 1RUJLt-0000WI-9m for ged-emacs-devel@m.gmane.org; Sat, 26 Nov 2011 15:35:37 +0100 Original-Received: from localhost ([::1]:46703 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUJLs-0002kF-PY for ged-emacs-devel@m.gmane.org; Sat, 26 Nov 2011 09:35:36 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:47680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUJLq-0002k0-8d for emacs-devel@gnu.org; Sat, 26 Nov 2011 09:35:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RUJLo-0008PV-FZ for emacs-devel@gnu.org; Sat, 26 Nov 2011 09:35:34 -0500 Original-Received: from mail-bw0-f41.google.com ([209.85.214.41]:54238) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUJLo-0008MB-AQ for emacs-devel@gnu.org; Sat, 26 Nov 2011 09:35:32 -0500 Original-Received: by bke17 with SMTP id 17so6498540bke.0 for ; Sat, 26 Nov 2011 06:35:31 -0800 (PST) Original-Received: by 10.205.141.73 with SMTP id jd9mr38986040bkc.21.1322318131327; Sat, 26 Nov 2011 06:35:31 -0800 (PST) Original-Received: from [192.168.0.171] ([78.153.153.8]) by mx.google.com with ESMTPS id z7sm21816860bka.1.2011.11.26.06.35.30 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 26 Nov 2011 06:35:30 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.41 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:146259 Archived-At: On 11/26/2011 05:26 PM, Carsten Mattner wrote: > After having used 4 erlang-mode buffers and having killed all buffers > for more than an hour and having run M-x garbage-collect there still > seems to be unreclaimable space. This is an internal heap fragmentation, the most common disadvantage of simple mark and sweep GC. > It's been sitting there with 0 buffers in *scratch* at around 54megs > for a couple hours. Try to restore your 4 erlang-mode buffers and other stuff which has been previously used to reach 54M. If the heap will not grow substantially beyond 54M, this means that fragmented space was mostly re-used. If you ends up with 2x or more heap, there is a serious memory leak somewhere. Dmitry