From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Samuel Wales Newsgroups: gmane.emacs.help Subject: memory tken by emacs Date: Wed, 1 Feb 2023 23:36:42 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15177"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 02 07:37:19 2023 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 1pNTDi-0003hP-Es for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 02 Feb 2023 07:37:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pNTDF-0006q5-Ab; Thu, 02 Feb 2023 01:36:49 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pNTDD-0006pt-Ix for help-gnu-emacs@gnu.org; Thu, 02 Feb 2023 01:36:47 -0500 Original-Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pNTDB-0007OK-VS for help-gnu-emacs@gnu.org; Thu, 02 Feb 2023 01:36:47 -0500 Original-Received: by mail-lf1-x12b.google.com with SMTP id bi36so1514157lfb.8 for ; Wed, 01 Feb 2023 22:36:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=IrxF9DYeXnf5nPm6gRhNNYp25yaE11ej3FVSNEE5yWU=; b=WGEXa14ybaFQjQVpcFYb9LSDzgAwIWNjmVUOnAh5+TPtqK7ImRAxwNcJypLjds5izc BitcfSI15AkTGzjr9P2a0Ha1PMNTzI1PYgHDejwf8S2RI+Qmg7uJWBadLoBRYSWGG35b X52tie0+QSZEKeAT2+XspDQ8kWvJy/t0WTa+xg9bs2mzTlmnWotstdQAH4FKEryr8MUs lURHb2ZNI1X+6dmiEbZ7ye4vAE8Pdg0Nw9o8jwuuEnllweohQK8T0qSHai9ygoVQboVp T4EGwc+dFTW7Nvzw30TSDikc9DLchEqVhqlAarET+HNLvx5U+LoA6EJA65IXk7pA0j3P UezA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=IrxF9DYeXnf5nPm6gRhNNYp25yaE11ej3FVSNEE5yWU=; b=m5w04mCII8ZzGBuXaBKMYY2WK/KTWGu/xviRS7iPNJYAWBqako4cre2Llm61M2n753 xacqmoB1WwFLunfjo/rNu0xMIYxs6jeov+xFUY2bz2/VPSqn2qdInFhWMf5ydma9Jxsa wHhUVuwjBL6E9wX7CIQxNbcEYTneoy9I4SpJwjV/xFaJYuFRHLq3dGJhBdojddmttMc6 aNdFo9WGpmVDH8if7qCHz7O2ALfHqV8cKuIElzL2wrRsSr9QRmdGDEukxIlbaW7zYiNA 4p1Y6zEgxa4G2QBxvUzvnbu1hQWOGKWeMPLHcqaiJYyXIxKuYZAhGTkTaQHj778Jqhz7 XwJw== X-Gm-Message-State: AO0yUKXDzs9fF66gCjekKOKUIoPxMzrSECDabyMWkkHIh0rSjRfVTtFA dy1opL1yvRmAn5QnGVIxKtgyZV8ngSYwjYmngEJNaN3IH8IjeA== X-Google-Smtp-Source: AK7set+HDlYvJKpWGnzJSfu7nARSST/ssjI7qJjB4sltKVUetWC5oaf2WBYPthMD51d91Yt/7l1ta+rduPwzodTQdAE= X-Received: by 2002:a19:a405:0:b0:4cb:44bc:980 with SMTP id q5-20020a19a405000000b004cb44bc0980mr928968lfc.47.1675319803098; Wed, 01 Feb 2023 22:36:43 -0800 (PST) Original-Received: by 2002:aa6:c266:0:b0:23b:5e81:46ba with HTTP; Wed, 1 Feb 2023 22:36:42 -0800 (PST) Received-SPF: pass client-ip=2a00:1450:4864:20::12b; envelope-from=samologist@gmail.com; helo=mail-lf1-x12b.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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.29 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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:142573 Archived-At: my computer is overwhelmed frequenty. sometimes the biggest memory user is emacs. ps -eo pid,\%mem,size,vsize,rss,resident,cmd --sort=size -> 5234 55.2 3226844 3549680 3193108 - emacs --maximize i could run the profiler for a while to find functions, but is htere anything ht will show me what modes, buffers, etc. are using memory? for example, undo-tree, or diff-mode, or something like that? also, if i kill a buffer and gc, will it reduce memory? -- The Kafka Pandemic A blog about science, health, human rights, and misopathy: https://thekafkapandemic.blogspot.com