> -----Original Message----- > From: Steve Litt [mailto:sl...@troubleshooters.com] > Sent: Wednesday, December 18, 2013 5:16 PM > To: lyx-users@lists.lyx.org > Subject: Re: LyX freezes periodically > > On Wed, 18 Dec 2013 14:38:10 -0500 > David Belius <david.bel...@cantab.net> wrote: > > > Hi, > > > > When working on a specific large document (about 50 pages as a PDF), > > LyX does a very annoying thing where it freezes for about 4-5 seconds > > about once a minute. <SNIP>
Along with an earlier query about the instant preview of math; Do you have the 'outline' view open? <it caused some slowdowns a couple of years ago for me, but I thought it got fixed, instead of me just avoiding it.> > > > > Does anyone have any idea of how to fix this problem, or at least how > > to debug it? I have downloaded the source code and tried to find the > > place where it gets stuck, but to no avail. > > First test. Reboot the machine, run nothing else except X and LyX, and > see if it still happens. If not, it's an interaction with some other > program, so you'd need to find what (top would be a good resource). <SNIP Steve's good advice for testing.> I would suggest augmenting Steve's test with running `top` (updating every second or two, because the issues last less than 3-5 seconds) in a terminal next to your LyX instance during all the tests. This way you might notice some external program being fired up and using a lot of cpu/memory or see the cpu(s) going into IO wait, during the pauses. If you have not used top before, you might want to run and watch top for a few minutes with nothing else going, so you can get used to the rhythm and values of your computer's operation when quiet and thus have a better feel for what is not being quiet when you have issues. Even when this disclaimer is not here: I am not a contracting officer. I do not have authority to make or modify the terms of any contract.