 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Paul Harrington Guest
|
Posted: Mon Jan 24, 2005 3:22 pm Post subject: Delphi 6 periodically slows to a crawl |
|
|
Can anyone think what might cause this? I have a largish project, which
normally compiles and links in less than a minute on my 1GHz Notebook 512Mb
Ram. Every now and again it freezes up for much longer in the process of a
compile/link - 5-10 minutes is not unusual. Looking at task manager (on XP
home btw) Delphi32 is chugging along using 95+ % CPU and gradually eating up
more and more memory - right now it's used 189,000K mem usage and 221,000K
VM size. There is still some free memory available at this point (10 minutes
in).
Any ideas or suggestions would be much appreciated.
Paul
|
|
| Back to top |
|
 |
Michael Brown Guest
|
Posted: Mon Jan 24, 2005 9:05 pm Post subject: Re: Delphi 6 periodically slows to a crawl |
|
|
Paul Harrington wrote:
| Quote: | Can anyone think what might cause this? I have a largish project,
which normally compiles and links in less than a minute on my 1GHz
Notebook 512Mb Ram. Every now and again it freezes up for much longer
in the process of a compile/link - 5-10 minutes is not unusual.
Looking at task manager (on XP home btw) Delphi32 is chugging along
using 95+ % CPU and gradually eating up more and more memory - right
now it's used 189,000K mem usage and 221,000K VM size. There is still
some free memory available at this point (10 minutes in).
|
I've had this problem before (Delphi 6 on Win2K) but I can't for the life of
me remember how I fixed it. I think it may have been something to do with
networking but I can't be sure.
[...]
--
Michael Brown
www.emboss.co.nz : OOS/RSI software and more
Add michael@ to emboss.co.nz ---+--- My inbox is always open
|
|
| Back to top |
|
 |
Marco van de Voort Guest
|
Posted: Tue Jan 25, 2005 7:57 am Post subject: Re: Delphi 6 periodically slows to a crawl |
|
|
On 2005-01-24, Paul Harrington <Paul.Harrington (AT) net (DOT) ntl.com> wrote:
| Quote: | Can anyone think what might cause this? I have a largish project, which
normally compiles and links in less than a minute on my 1GHz Notebook 512Mb
Ram. Every now and again it freezes up for much longer in the process of a
compile/link - 5-10 minutes is not unusual. Looking at task manager (on XP
home btw) Delphi32 is chugging along using 95+ % CPU and gradually eating up
more and more memory - right now it's used 189,000K mem usage and 221,000K
VM size. There is still some free memory available at this point (10 minutes
in).
Any ideas or suggestions would be much appreciated.
|
I've never had it myself, but the times I have seen these problems in
forums, they always recommended uninstall plugins/packages and see if you
can pinpoint one of them.
|
|
| Back to top |
|
 |
Paul Harrington Guest
|
Posted: Thu Jan 27, 2005 12:04 pm Post subject: Re: Delphi 6 periodically slows to a crawl |
|
|
Thx for the responses. I found that I had the tooltip code insight settings
checked, which I think is what was causing my problem. Since I have turned
them off, I haven't seen any really long freezes, just a couple of 40
seconds or so on a compile/link. I don't know why code insight should spend
quite so long thrashing round - a bug perhaps? Anyway, I was losing far more
time with the freezes than I gained with code insight, so it will stay off
for now.
thx again
Paul
|
|
| Back to top |
|
 |
Bruce Roberts Guest
|
Posted: Thu Jan 27, 2005 3:50 pm Post subject: Re: Delphi 6 periodically slows to a crawl |
|
|
"Paul Harrington" <Paul.Harrington (AT) net (DOT) ntl.com> wrote
| Quote: | Thx for the responses. I found that I had the tooltip code insight
settings
checked, which I think is what was causing my problem. Since I have turned
them off, I haven't seen any really long freezes, just a couple of 40
seconds or so on a compile/link. I don't know why code insight should
spend
quite so long thrashing round - a bug perhaps? Anyway, I was losing far
more
time with the freezes than I gained with code insight, so it will stay off
for now.
|
Code completion often has to re-analyze a project. The analysis is
essentially a compile without the code generation step. A declaration change
can mean a lot of work, especially when one loads a unit which uses several
other units that have undergone significant changes.
|
|
| Back to top |
|
 |
Paul Harrington Guest
|
Posted: Thu Jan 27, 2005 5:30 pm Post subject: Re: Delphi 6 periodically slows to a crawl |
|
|
Hi Bruce
I understand about the analysis being like a compile, but it should
never take 10-15 minutes, even on my slow old notebook. A normal compile and
link completes in less than 20 secs, so something is wrong IMO. BTW, I
didn't have code completion on - I'd turned it off for just that reason. The
tooltip settings were still on tho.
Paul
"Bruce Roberts" <ber (AT) bounceitattcanada (DOT) xnet> wrote
| Quote: |
"Paul Harrington" <Paul.Harrington (AT) net (DOT) ntl.com> wrote in message
news:2N4Kd.1403$f07.491 (AT) newsfe5-gui (DOT) ntli.net...
Thx for the responses. I found that I had the tooltip code insight
settings
checked, which I think is what was causing my problem. Since I have
turned
them off, I haven't seen any really long freezes, just a couple of 40
seconds or so on a compile/link. I don't know why code insight should
spend
quite so long thrashing round - a bug perhaps? Anyway, I was losing far
more
time with the freezes than I gained with code insight, so it will stay
off
for now.
Code completion often has to re-analyze a project. The analysis is
essentially a compile without the code generation step. A declaration
change
can mean a lot of work, especially when one loads a unit which uses
several
other units that have undergone significant changes.
|
|
|
| Back to top |
|
 |
Jud McCranie Guest
|
Posted: Thu Jan 27, 2005 6:06 pm Post subject: Re: Delphi 6 periodically slows to a crawl |
|
|
On Thu, 27 Jan 2005 17:30:52 GMT, "Paul Harrington"
<Paul.Harrington (AT) net (DOT) ntl.com> wrote:
| Quote: | I understand about the analysis being like a compile, but it should
never take 10-15 minutes, even on my slow old notebook.
|
I agree. I have it pause for several seconds from time to time
(apparently saving files, or something). This is on a 2.4 GHz P4.
Even on a relatively slow machine, I don't think it should take 1
minute.
---
Replace you know what by j to email
|
|
| Back to top |
|
 |
Bruce Roberts Guest
|
Posted: Thu Jan 27, 2005 8:11 pm Post subject: Re: Delphi 6 periodically slows to a crawl |
|
|
"Paul Harrington" <Paul.Harrington (AT) net (DOT) ntl.com> wrote
| Quote: | I understand about the analysis being like a compile, but it should
never take 10-15 minutes, even on my slow old notebook. A normal compile
and
link completes in less than 20 secs, so something is wrong IMO. BTW, I
didn't have code completion on - I'd turned it off for just that reason.
The
tooltip settings were still on tho.
|
10-15 minutes does seem excessive. However you have to remember that the
compile process is actually less resource intensive than code completion. I
would not be at all surprised to learn that massive page swapping occurs
during your long waits.
|
|
| Back to top |
|
 |
Paul Harrington Guest
|
Posted: Thu Jan 27, 2005 10:07 pm Post subject: Re: Delphi 6 periodically slows to a crawl |
|
|
Excuse my ignorance on this Bruce, but would page swapping occur with free
memory available? I assumed it wouldn't, but I'm rather rusty in these areas
;-)
Paul
"Bruce Roberts" <ber (AT) bounceitattcanada (DOT) xnet> wrote
| Quote: |
"Paul Harrington" <Paul.Harrington (AT) net (DOT) ntl.com> wrote in message
news:gz9Kd.1516$f07.421 (AT) newsfe5-gui (DOT) ntli.net...
I understand about the analysis being like a compile, but it should
never take 10-15 minutes, even on my slow old notebook. A normal compile
and
link completes in less than 20 secs, so something is wrong IMO. BTW, I
didn't have code completion on - I'd turned it off for just that reason.
The
tooltip settings were still on tho.
10-15 minutes does seem excessive. However you have to remember that the
compile process is actually less resource intensive than code completion.
I
would not be at all surprised to learn that massive page swapping occurs
during your long waits.
|
|
|
| Back to top |
|
 |
Bruce Roberts Guest
|
Posted: Mon Jan 31, 2005 7:39 pm Post subject: Re: Delphi 6 periodically slows to a crawl |
|
|
"Paul Harrington" <Paul.Harrington (AT) net (DOT) ntl.com> wrote
| Quote: | Excuse my ignorance on this Bruce, but would page swapping occur with free
memory available? I assumed it wouldn't, but I'm rather rusty in these
areas |
It might well happen. I'm not intimate with the details of Windows memory
management so I can't be specific. In general virtual o/s often reserve RAM
for particular types of objects, like disk buffers, stack, etc. This memory
may be reported as part of a generally available memory pool, even though
its reserved for specific tasks. Also many virtual memory o/s start swapping
space in tasks/threads when working set size exceeds some threshold, even
when there is plenty of RAM available. Finally, just because one thinks
there is RAM available doesn't make it so.
(BTW. Windows TaskManager can give one a general idea of overall
performance, but it should never be taken as an accurate real-time reporter
of RAM status.)
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|