From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#15156: 24.3; !MEM FULL! Date: Fri, 06 Sep 2013 12:20:55 +0300 Message-ID: <83ioyemhl4.fsf@gnu.org> References: <8638q2iye5.fsf@somewhere.org> <52170AC5.1070109@gmx.at> <86ppt4nj2l.fsf@somewhere.org> <8661uf2yl6.fsf@somewhere.org> <83sixjbb6x.fsf@gnu.org> <86wqmv1h0b.fsf@somewhere.org> <83ob87b9yy.fsf@gnu.org> <86eh92s50k.fsf@somewhere.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1378459339 31310 80.91.229.3 (6 Sep 2013 09:22:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Sep 2013 09:22:19 +0000 (UTC) Cc: 15156@debbugs.gnu.org To: Sebastien Vauban Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 06 11:22:20 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VHsF8-0000Jn-3S for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Sep 2013 11:22:18 +0200 Original-Received: from localhost ([::1]:36083 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHsF7-0003Az-CV for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Sep 2013 05:22:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35446) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHsEy-00039F-6n for bug-gnu-emacs@gnu.org; Fri, 06 Sep 2013 05:22:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHsEs-0001jA-T1 for bug-gnu-emacs@gnu.org; Fri, 06 Sep 2013 05:22:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34783) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHsEs-0001j5-Kh for bug-gnu-emacs@gnu.org; Fri, 06 Sep 2013 05:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VHsEs-0006jY-6q for bug-gnu-emacs@gnu.org; Fri, 06 Sep 2013 05:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Sep 2013 09:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15156 X-GNU-PR-Package: emacs,w32 X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 15156-submit@debbugs.gnu.org id=B15156.137845927425822 (code B ref 15156); Fri, 06 Sep 2013 09:22:02 +0000 Original-Received: (at 15156) by debbugs.gnu.org; 6 Sep 2013 09:21:14 +0000 Original-Received: from localhost ([127.0.0.1]:43074 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VHsE6-0006iP-6w for submit@debbugs.gnu.org; Fri, 06 Sep 2013 05:21:14 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:44133) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VHsE3-0006i8-6E for 15156@debbugs.gnu.org; Fri, 06 Sep 2013 05:21:12 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MSP002005SAR700@a-mtaout21.012.net.il> for 15156@debbugs.gnu.org; Fri, 06 Sep 2013 12:21:04 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MSP0025X5Z3RM00@a-mtaout21.012.net.il>; Fri, 06 Sep 2013 12:21:04 +0300 (IDT) In-reply-to: <86eh92s50k.fsf@somewhere.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:78037 Archived-At: > From: "Sebastien Vauban" > Cc: Sebastien Vauban , 15156@debbugs.gnu.org > Date: Fri, 06 Sep 2013 10:55:55 +0200 > > > All I see in the screencast is that the memory footprint grows, then > > shrinks back. Assuming you have something going on in Emacs that can > > explain several hundreds of MBs of memory consumption, that's actually > > normal: Emacs uses up memory when it needs it, then releases it when > > it no longer does. So maybe there's no problem here at all. > > You take the precaution of "assuming I have something explaining several > hundreds of MBs of memory consumption", and that's where the problem lies: I > don't have anything that could explain that. You are using helm, aren't you? That can explain anything at all, as it runs subprocesses on every keystroke, AFAIR. Anyway, putting a break at xmalloc conditioned by some large allocation size might show who is requesting this much memory. I don't see how this can be investigated otherwise without some debugging. > What's weird as well is that the memory shrinks back to a lower level -- even > if still quite important. No apparent reason for that. GC is normally the reason: Emacs relinquishes memory it doesn't need anymore. > And, anyway, I still can't use Emacs as you saw: I'm forced to kill > Emacs from the Task Manager. Why can't you exit Emacs "normally"? Memory full condition does not prevent that. What happens if you try exiting?