[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Debugging advice
From: |
Stefan Monnier |
Subject: |
Re: Debugging advice |
Date: |
Fri, 16 Jun 2017 17:16:38 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
> My environment is (maybe unfortunately) Cygwin64 under Windows, of course.
> Occasionally while working emacs stops responding to me and I watch it's
> memory consumption rise from 407MB to 1533MB along with a ramp in CPU usage.
> I want to find out what it is doing and can not find any information on how
> to monitor background activity in Emacs.
A tool I've used for that in the past is the cpu profiler. Try to
M-x profiler-start, then try and reproduce the problem and then M-x
profiler-report.
Stefan