From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Emacs bzr memory footprint Date: Tue, 18 Oct 2011 09:24:29 +0200 Message-ID: References: <87y5wjfo2z.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1318922680 25079 80.91.229.12 (18 Oct 2011 07:24:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 18 Oct 2011 07:24:40 +0000 (UTC) Cc: Juri Linkov , Emacs developers To: James Cloos Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 18 09:24:37 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RG42M-0006Bb-WE for ged-emacs-devel@m.gmane.org; Tue, 18 Oct 2011 09:24:35 +0200 Original-Received: from localhost ([::1]:55024 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RG42L-0003cS-Ns for ged-emacs-devel@m.gmane.org; Tue, 18 Oct 2011 03:24:33 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56270) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RG42J-0003cC-1H for emacs-devel@gnu.org; Tue, 18 Oct 2011 03:24:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RG42H-0005GP-M3 for emacs-devel@gnu.org; Tue, 18 Oct 2011 03:24:30 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:56870) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RG42H-0005G9-HW for emacs-devel@gnu.org; Tue, 18 Oct 2011 03:24:29 -0400 Original-Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id EC9B51C02FBE; Tue, 18 Oct 2011 09:24:25 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id D76851C002F2; Tue, 18 Oct 2011 09:24:25 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id gAUN+mxjKmBf; Tue, 18 Oct 2011 09:24:24 +0200 (CEST) Original-Received: from hase.home (ppp-88-217-108-0.dynamic.mnet-online.de [88.217.108.0]) by mail.mnet-online.de (Postfix) with ESMTP; Tue, 18 Oct 2011 09:24:24 +0200 (CEST) X-Yow: ANN JILLIAN'S HAIR makes LONI ANDERSON'S HAIR look like RICARDO MONTALBAN'S HAIR! In-Reply-To: (James Cloos's message of "Mon, 17 Oct 2011 19:34:49 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 212.18.0.9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:145291 Archived-At: James Cloos writes: >>>>>> "JL" == Juri Linkov writes: > > JC>> On linux you also can look at /proc/$PID/maps. > > JL> Not in Emacs, unfortunately, that displays files from the proc filesystem > JL> incompletely, truncated at the position 65536. Is it possible to fix this? > > Odd. Something in emacs must do that; nothing else here has that bug. /* The file size returned from stat may be zero, but data may be readable nonetheless, for example when this is a file in the /proc filesystem. */ if (end_offset == 0) end_offset = READ_BUF_SIZE; Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."