emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs bzr memory footprint


From: Andreas Schwab
Subject: Re: Emacs bzr memory footprint
Date: Tue, 18 Oct 2011 09:24:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

James Cloos <address@hidden> writes:

>>>>>> "JL" == Juri Linkov <address@hidden> 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, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]