From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.bugs Subject: bug#2309: Saving under Windows (sometimes) causes Emacs to freeze and allocate a lot of memory - Emacs 22.3.1 Date: Fri, 13 Feb 2009 21:42:00 +0800 Message-ID: <499578A8.4040709@gnu.org> References: Reply-To: Jason Rumney , 2309@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1234534583 29174 80.91.229.12 (13 Feb 2009 14:16:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Feb 2009 14:16:23 +0000 (UTC) To: fredrik.hellman@gmail.com, 2309@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 13 15:17:37 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LXyqy-00010N-JU for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Feb 2009 15:17:16 +0100 Original-Received: from localhost ([127.0.0.1]:43920 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXype-0002Nd-KE for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Feb 2009 09:15:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LXydq-0003YX-Lp for bug-gnu-emacs@gnu.org; Fri, 13 Feb 2009 09:03:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LXydm-0003XR-DP for bug-gnu-emacs@gnu.org; Fri, 13 Feb 2009 09:03:39 -0500 Original-Received: from [199.232.76.173] (port=50209 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXydk-0003X8-Gc for bug-gnu-emacs@gnu.org; Fri, 13 Feb 2009 09:03:37 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:58611) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LXydj-0006ty-Rm for bug-gnu-emacs@gnu.org; Fri, 13 Feb 2009 09:03:36 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1DE3Y2r023054; Fri, 13 Feb 2009 06:03:34 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n1DDo3o2018570; Fri, 13 Feb 2009 05:50:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Jason Rumney Original-Sender: Jason Rumney Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs , owner@emacsbugs.donarmstrong.com Resent-Date: Fri, 13 Feb 2009 13:50:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2309 X-Emacs-PR-Package: emacs,w32 X-Emacs-PR-Keywords: Original-Received: via spool by 2309-submit@emacsbugs.donarmstrong.com id=B2309.123453255316729 (code B ref 2309); Fri, 13 Feb 2009 13:50:03 +0000 Original-Received: (at 2309) by emacsbugs.donarmstrong.com; 13 Feb 2009 13:42:33 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.187]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1DDgTqk016721 for <2309@emacsbugs.donarmstrong.com>; Fri, 13 Feb 2009 05:42:31 -0800 Original-Received: by ti-out-0910.google.com with SMTP id 28so942354tif.1 for <2309@emacsbugs.donarmstrong.com>; Fri, 13 Feb 2009 05:42:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=buas2+qDD/ejoCPCXE4aDogpEi/Iilg3uqaoZFJzj18=; b=or81ls12MMdEF6Tyzrvc6y6WiO75eZDdb+n8fhP8B147wBcZZDqF6Y/eYbDj1SfhqC VtMITxwr5KJXjToIpb9Gsz6IeZX7/T3vBzUKvHO1Vtrt4UNoKW2AJpo/kj7TppxZw+eN DnhjjnvwEYPhZx6G/70maP6HiAYQpbq61JTcE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=ZAU/rmrOZTPPdLVtgXmUBnQD4nklR3BBwnZlRdEwgL2/ew0VtZ/K6iLRBA2mqHOjE9 GxOn7aoir/V1xxb3h8QkaqC+bCN4Yl1Xz99HVilRpX6OEkW+UKMxWdbW3WNJDMng4EiU rYxLqhuMnsSCqv8kOdZj7y1JfH1XBBdJBsz9k= Original-Received: by 10.110.69.5 with SMTP id r5mr3408231tia.36.1234532549122; Fri, 13 Feb 2009 05:42:29 -0800 (PST) Original-Received: from ?192.168.249.26? ([118.101.26.137]) by mx.google.com with ESMTPS id b7sm680615tic.35.2009.02.13.05.42.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 13 Feb 2009 05:42:27 -0800 (PST) User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Fri, 13 Feb 2009 09:03:39 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:25300 Archived-At: tags 2309 +moreinfo Fredrik Hellman wrote: > When I start emacs, open a file in a buffer, do some changes in it and > then saves the file with C-x C-s Emacs freezes and I can see how the > memory allocated by Emacs slowly increases until it after a few > minutes wakes up again and says in a separate buffer: > > Emergency (alloc): Warning: past 95% of memory limit > > This problem doesn't always occur on saves. > > I don't know what more to tell, but if you want more details about > something, feel free to ask me. > Is there any pattern to when this occurs? Particular file types? Files saved in a particular location? Try setting debug-on-quit to t (you can toggle this variable from the Options menu), then when you notice the problem, press C-g and see if you get thrown into the lisp debugger.