From: Robert Marshall <spam@capuchin.co.uk>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs slow on dired renaming
Date: Wed, 09 Apr 2014 10:41:43 +0100 [thread overview]
Message-ID: <87fvlmq1pk.fsf@capuchin.co.uk> (raw)
In-Reply-To: 87a9byfk6d.fsf@capuchin.co.uk
On Sun, Apr 06 2014, Robert Marshall <spam@capuchin.co.uk> wrote:
> On Sun, Apr 06 2014, Eli Zaretskii <eliz@gnu.org> wrote:
>
>>> From: Robert Marshall <spam@capuchin.co.uk>
>>> Date: Sun, 06 Apr 2014 13:39:11 +0100
>>> So it would appear to be either what I'm loading in .emacs.desktop or
>>> what I'm doing after that in that session which causes that symptom to
>>> gradually appear. I've never seen the problem with an emacs session
>>> which lasts less than c 2 hours.
>>
>> I guess the next step is to look in your desktop file.
>>
>
> First I'm going to try starting an emacs session with the .emacs.desktop
> file loaded and largely leave that session alone (apart from dired
> renames) give it 12 hours and see if the problem appears. If so I'll
> start reducing the desktop, otherwise I'm going to have to look at what I
> do in emacs in the normal session - I'll compare featurep between the
> desktop left alone session and now.
>
That session - which I left sitting there didn't produce the problem.
AFAICT, there appears to be a point where the memory footprint of the bad
emacs session greatly increases (but spotting when it does is still
eluding me)
/proc/$emacspid/status is currently giving me
VmPeak: 2123196 kB
VmSize: 2120600 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 1274504 kB
VmRSS: 983744 kB
VmData: 1373744 kB
VmStk: 156 kB
VmExe: 2184 kB
VmLib: 36492 kB
VmPTE: 2816 kB
VmSwap: 370112 kB
the process is using around 25% of the available memory (4GB) but maybe
the problem is that there isn't more and it's spending its time getting
out of swap?
I've not opened any particularly large buffers since I started this session
(some were opened during startup by the desktop but the largest one
is around 1meg)
Looking at the variables suggested by
https://www.gnu.org/software/emacs/manual/html_node/elisp/Memory-Usage.html
cons-cells-consed
59741973
floats-consed
196763
vector-cells-consed
71162058
symbols-consed
252132
string-chars-consed
307585551
misc-objects-consed
1241806
intervals-consed
400985
strings-consed
7853976
do any of these look out of the ordinary for an emacs session which has
been running around 24 hours (having suspended the machine overnight)?
A manual call to garbage-collect returns nil and pure-bytes-used is 88 -
I don't know what this should be but it doesn't look sensible? Maybe a
refresh from bzr and rebuild?
Robert
--
La grenouille songe..dans son château d'eau
next prev parent reply other threads:[~2014-04-09 9:41 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-03 6:57 emacs slow on dired renaming Robert Marshall
2014-04-03 14:52 ` Eli Zaretskii
[not found] ` <mailman.18826.1396536739.10748.help-gnu-emacs@gnu.org>
2014-04-03 18:57 ` Robert Marshall
2014-04-03 20:03 ` Eli Zaretskii
[not found] ` <mailman.18866.1396555421.10748.help-gnu-emacs@gnu.org>
2014-04-04 13:17 ` Robert Marshall
2014-04-04 14:02 ` Eli Zaretskii
[not found] ` <mailman.18922.1396620169.10748.help-gnu-emacs@gnu.org>
2014-04-05 8:50 ` Robert Marshall
2014-04-05 9:22 ` Eli Zaretskii
2014-04-05 13:55 ` Stefan Monnier
[not found] ` <mailman.18986.1396706186.10748.help-gnu-emacs@gnu.org>
2014-04-05 15:09 ` Robert Marshall
[not found] ` <mailman.18966.1396689747.10748.help-gnu-emacs@gnu.org>
2014-04-05 11:09 ` Robert Marshall
2014-04-05 11:56 ` Eli Zaretskii
[not found] ` <mailman.18977.1396698988.10748.help-gnu-emacs@gnu.org>
2014-04-05 12:32 ` Robert Marshall
2014-04-06 12:39 ` Robert Marshall
2014-04-06 16:21 ` Eli Zaretskii
[not found] ` <mailman.19055.1396801288.10748.help-gnu-emacs@gnu.org>
2014-04-06 17:21 ` Robert Marshall
2014-04-09 9:41 ` Robert Marshall [this message]
2014-04-09 12:50 ` Robert Marshall
2014-04-09 13:17 ` Stefan Monnier
[not found] ` <mailman.19290.1397049474.10748.help-gnu-emacs@gnu.org>
2014-04-09 15:12 ` Robert Marshall
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=87fvlmq1pk.fsf@capuchin.co.uk \
--to=spam@capuchin.co.uk \
--cc=help-gnu-emacs@gnu.org \
--cc=robert@capuchin.co.uk \
/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.
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).