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: Sat, 24 Aug 2013 17:27:21 +0300 Message-ID: <83sixzgo52.fsf@gnu.org> References: <8638q2iye5.fsf@somewhere.org> <52170AC5.1070109@gmx.at> <86ppt4nj2l.fsf@somewhere.org> <52187509.4030904@gmx.at> <86bo4njind.fsf@somewhere.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1377354497 14811 80.91.229.3 (24 Aug 2013 14:28:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 Aug 2013 14:28:17 +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 Sat Aug 24 16:28:18 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 1VDEp7-0001tT-8j for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Aug 2013 16:28:17 +0200 Original-Received: from localhost ([::1]:41896 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDEp6-00030p-NU for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Aug 2013 10:28:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDEoy-00030S-1k for bug-gnu-emacs@gnu.org; Sat, 24 Aug 2013 10:28:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VDEos-0002YS-Mb for bug-gnu-emacs@gnu.org; Sat, 24 Aug 2013 10:28:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58238) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDEos-0002YO-JS for bug-gnu-emacs@gnu.org; Sat, 24 Aug 2013 10:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VDEor-0006yC-Se for bug-gnu-emacs@gnu.org; Sat, 24 Aug 2013 10:28: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: Sat, 24 Aug 2013 14:28:01 +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.137735444126742 (code B ref 15156); Sat, 24 Aug 2013 14:28:01 +0000 Original-Received: (at 15156) by debbugs.gnu.org; 24 Aug 2013 14:27:21 +0000 Original-Received: from localhost ([127.0.0.1]:52554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VDEoC-0006xF-7Y for submit@debbugs.gnu.org; Sat, 24 Aug 2013 10:27:20 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:54199) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VDEo8-0006x3-Cd for 15156@debbugs.gnu.org; Sat, 24 Aug 2013 10:27:18 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MS100500H7MTC00@a-mtaout20.012.net.il> for 15156@debbugs.gnu.org; Sat, 24 Aug 2013 17:27:14 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MS1005IPHHEU000@a-mtaout20.012.net.il>; Sat, 24 Aug 2013 17:27:14 +0300 (IDT) In-reply-to: <86bo4njind.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:77698 Archived-At: > From: "Sebastien Vauban" > Date: Sat, 24 Aug 2013 15:57:42 +0200 > Cc: 15156@debbugs.gnu.org > > >>> Turn off flyspell and see whether it still happens? > >> > >> Quite complex, > > Eli wrote: > > So you are saying that some (most?) of your sessions don't exhibit > > this problem at all? Earlier, you said that the problematic sessions > > are only several hours old, and this "once a week" seems to contradict > > that, because if the memory footprint grows so much in just a few > > hours, you should see these problems in almost every session. What am > > I missing? > > I said that: > > - MEM FULL problem doesn't occur in Emacs sessions of tens of hours long, as I > generally restart Emacs at least once a day. No, you said: > > And how long was that session up and running, before that happened? > > (You can use the emacs-uptime command to answer the last question.) > > 15 hours, 14 minutes, 3 seconds > > But you must substract the night... So, in fact, something like 6 to 8 hours. So, if you each day have a 15-hour long session, you should have this problem almost every day. If you don't, that means when the problem happens you do something relatively extraordinary. Maybe you could try figuring out what that could be. > In my head, it has never been clear that Emacs would be constantly growing, at > all times (unconditionally), and that if I wait long enough, I won't escape > the MEM FULL problem. It shouldn't grow constantly. Here's what I see on my system: Name Pid Pri Thd Hnd Priv CPU Time Elapsed Time emacs 4388 8 6 140 195124 1:32:49.906 238:09:46.822 This session runs for more than 9 days. > [1] Every 10s, I log "pslist emacs". I sometimes had two Emacs instances > running in parallel. The memory footprint grows almost monotonically, and too fast, IMO. But it never goes anywhere near the 1.6GB mark, so I'm not sure we see here something important. It would be interesting to see the memory history of a session which does get to MEM FULL. > I guess that "time gaps" such as: > > emacs 2440 8 6 236 67836 0:01:44.187 0:54:30.142 > emacs 2440 8 6 236 67836 0:01:44.234 1:14:33.897 > > indicate that I closed the lid of my laptop, hibernating it for 20 minutes? I don't think it's hibernation, unless pslist has some tricks up its sleeve: when the machine hibernates, the elapsed time of all processes stops advancing.