From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: edgar Newsgroups: gmane.emacs.help Subject: Re: How to debug memory leaks Date: Fri, 26 Mar 2021 05:58:14 +0000 Message-ID: References: <87pmzmihyj.fsf@robertthorpeconsulting.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15727"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Roundcube Webmail To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 26 06:58:57 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lPfUm-0003xK-10 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 26 Mar 2021 06:58:56 +0100 Original-Received: from localhost ([::1]:41796 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPfUk-0004qm-Tq for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 26 Mar 2021 01:58:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36284) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPfUH-0004qK-46 for help-gnu-emacs@gnu.org; Fri, 26 Mar 2021 01:58:25 -0400 Original-Received: from latitanza.investici.org ([2001:888:2000:56::19]:64535) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPfUE-0003Br-J5 for help-gnu-emacs@gnu.org; Fri, 26 Mar 2021 01:58:24 -0400 Original-Received: from 2.mail-backend.investici.org (unknown [10.0.0.12]) by latitanza.investici.org (Postfix) with ESMTP id 4F6B931bX3z8v7v for ; Fri, 26 Mar 2021 05:58:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cryptolab.net; s=stigmate; t=1616738295; bh=VZZ4+IYFOlyhKmlYtkdTP2TD6EAoiiXi9ASDu6G5tCM=; h=Date:From:To:Subject:In-Reply-To:References:From; b=EXemvcq7Maa8kpe6+Of8E8FVUagToHPkCDAkDT09M9DvLOoADCdluHvKZg2CgJbI3 gff+mMQgkbMm0q7zre2qgDpIYzG47DZr34vVBbnv7jUcEfyXtos0l0AuhC7RLX+7rw h/tXORi9kwNbR9pVcgbx/+SOuXFkVKe9FX6uBofo= Original-Received: from 2.webmail.investici.org (localhost [127.0.0.1]) (Authenticated sender: edgar@inventati.org) by 2.mail-backend.investici.org (Postfix) with ESMTPA id 4F6B930Y8yz2xCj for ; Fri, 26 Mar 2021 05:58:14 +0000 (UTC) In-Reply-To: <87pmzmihyj.fsf@robertthorpeconsulting.com> X-Sender: edgarlux@cryptolab.net Received-SPF: pass client-ip=2001:888:2000:56::19; envelope-from=edgarlux@cryptolab.net; helo=latitanza.investici.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:128593 Archived-At: Robert Thorpe wrote: > I think you mentioned a while ago that you use shell-mode. In that > mode > Emacs keeps a buffer with all of the shell activity in it. By default > it doesn't remove anything, at least on my Emacs. > > Some programs give out a lot of text on standard output. These > programs > can make your shell buffers very large and cause them to consume lots > of > memory. > > In the Emacs manual it gives ways of limiting the size of these > buffers. > > BR, > Robert Thorpe Thanks, Robert. I'll look into it :) .