unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Antoine Levitt <antoine.levitt@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 9221@debbugs.gnu.org
Subject: bug#9221: Memory leak
Date: Tue, 02 Aug 2011 14:18:34 +0200	[thread overview]
Message-ID: <87ipqgypk5.fsf@gmail.com> (raw)
In-Reply-To: <E1QoDHp-0004P9-Vf@fencepost.gnu.org> (Eli Zaretskii's message of "Tue, 02 Aug 2011 07:37:25 -0400")

02/08/11 13:37, Eli Zaretskii
>> From: Antoine Levitt <antoine.levitt@gmail.com>
>> Date: Tue, 02 Aug 2011 13:17:07 +0200
>> 
>> > Does anyone else see similar memory footprint growth?
>> 
>> Yes (though it doesn't use all my RAM and I can kill it no problem - I
>> have 4gb, if that's relevant). I also use gnus. It happened twice, I
>> don't remember what I was doing the first time, and the second was when
>> I was using ffap inside ERC to display a link in an external browser.
>
> Thanks.  Does the "happened twice" part mean that not every session
> shows memory footprint growth like this?  If not, what exactly
> happened twice?

Sorry, I should have been more clear. Emacs ate a lot of ram and slowed
my computer down to a crawl. But I could still kill emacs properly (C-x
C-c), suggesting that it's not a while(1){malloc();} loop, because I
wouldn't have been able to do that if it was. So I killed it. I ran
another session, and the same problem happened again. Both times, it
happened at seemingly random times.

That being said, my emacs session currently takes up 35% of my RAM (that
is more than 1gb so anormal, and it's an uptime of 14 hours, including
many in suspended state). I'll try and leave the session open for a few
hours, so if you have ideas of commands to run to debug it, it's all
yours.





  reply	other threads:[~2011-08-02 12:18 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-02  2:23 bug#9221: Memory leak Stefan Monnier
2011-08-02  4:39 ` Eli Zaretskii
2011-08-02 11:17   ` Antoine Levitt
2011-08-02 11:37     ` Eli Zaretskii
2011-08-02 12:18       ` Antoine Levitt [this message]
2011-08-02 23:53   ` Andy Moreton
2011-08-03  3:03     ` Eli Zaretskii
2011-08-03  9:04       ` Andy Moreton
2011-08-03 14:06         ` Andy Moreton
2011-08-04 22:14           ` Andy Moreton
2011-08-04 22:33             ` Antoine Levitt
2011-08-05 11:16             ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ipqgypk5.fsf@gmail.com \
    --to=antoine.levitt@gmail.com \
    --cc=9221@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).